PaymentModel class abstract
- Annotations
-
- @freezed
Constructors
-
PaymentModel.new({required String id, required String description, required List<
ItemType> items, required PaymentType paymentType, required RecipeType recipeType, required String idSettings}) -
factory
Properties
-
copyWith
→ $PaymentModelCopyWith<
PaymentModel> -
no setterinherited
- description → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- idSettings → String
-
no setterinherited
-
items
→ List<
ItemType> -
no setterinherited
- paymentType → PaymentType
-
no setterinherited
- recipeType → RecipeType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited