OrderState class
- Annotations
-
- @freezed
Constructors
-
OrderState({@Default(false) bool isLoading, @Default(false) bool isButtonLoading, @Default([]) List<
Equipment> listEquipment, @Default([]) List<TypesModel> listTypes, @Default(null) Equipment? selectEquipment, @Default(null) TypesModel? selectType, @Default(null) OrderModel? order, @Default(null) CalculateModel? calculate}) -
constfactory
Properties
- calculate → CalculateModel?
-
no setterinherited
-
copyWith
→ $OrderStateCopyWith<
OrderState> -
Create a copy of OrderState
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isButtonLoading → bool
-
no setterinherited
- isLoading → bool
-
no setterinherited
-
listEquipment
→ List<
Equipment> -
no setterinherited
-
listTypes
→ List<
TypesModel> -
no setterinherited
- order → OrderModel?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectEquipment → Equipment?
-
no setterinherited
- selectType → TypesModel?
-
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