CashMovement class
- Annotations
-
- @freezed
Constructors
- CashMovement({required DateTime date, required DateTime valueDate, @Default(invalidIntValue) int id, @Default(invalidIntValue) int? productId, String? orderdId, @Default('') String description, @Default('') String currency, @Default(0) double change, CashMovementBalance? balance, @Default('') String type})
-
constfactory
-
CashMovement.fromJson(Map<
String, Object?> json) -
factory
Properties
- balance → CashMovementBalance?
-
no setterinherited
- change → double
-
no setterinherited
-
copyWith
→ $CashMovementCopyWith<
CashMovement> -
no setterinherited
- currency → String
-
no setterinherited
- date → DateTime
-
no setterinherited
- description → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
no setterinherited
- movementType → MovementType
-
no setter
- orderdId → String?
-
no setterinherited
- productId → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setterinherited
- valueDate → DateTime
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited