TransactionModel class abstract
- Implemented types
Constructors
- TransactionModel.new([void updates(TransactionModelBuilder)])
-
factory
Properties
- failure → Failure?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- product → ProductItemModel?
-
no setteroverride
- productId → String
-
no setterinherited
- purchaseDetails → PurchaseDetails?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionDate → DateTime?
-
no setterinherited
- transactionStatus → TransactionStatus
-
no setterinherited
- transactionVerification → TransactionVerificationModel?
-
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TransactionModelBuilder)) → TransactionModel -
Rebuilds the instance.
inherited
-
toBuilder(
) → TransactionModelBuilder -
Converts the instance to a builder
B
.inherited -
toJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
TransactionModel> -
no setter
Static Methods
-
fromJson(
String jsonString) → TransactionModel -
fromPurchaseDetails(
PurchaseDetails details) → TransactionModel