CouponResponse class
Constructors
- CouponResponse({int? id, String? eventId, String? code, String? discount, String? validFrom, String? validTill, String? usageLimit, String? isRestricatedPerUser, String? deletedAt, String? createdAt, String? updatedAt, bool isSelected = false})
-
CouponResponse.fromMap(Map<
String, dynamic> json) -
factory
Properties
- code ↔ String?
-
getter/setter pair
- createdAt ↔ String?
-
getter/setter pair
- deletedAt ↔ String?
-
getter/setter pair
- discount ↔ String?
-
getter/setter pair
- eventId ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- isRestricatedPerUser ↔ String?
-
getter/setter pair
- isSelected ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ String?
-
getter/setter pair
- usageLimit ↔ String?
-
getter/setter pair
- validFrom ↔ String?
-
getter/setter pair
- validTill ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited