OrderUpdated class

Annotations
  • @JsonSerializable()

Constructors

OrderUpdated({required DateTime createdAt, required String locationId, required String orderId, required OrderState state, required int version, required DateTime updatedAt})
const
OrderUpdated.fromJson(Map<String, dynamic> json)
Converts a Map to an OrderUpdated
factory

Properties

createdAt DateTime
The timestamp for when the order was created.
final
hashCode int
The hash code for this object.
no setterinherited
locationId String
The ID of the seller location that this order is associated with.
final
orderId String
The order's unique ID.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state OrderState
The state of the order.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
updatedAt DateTime
The timestamp for when the order was last updated.
final
version int
The version number, which is incremented each time an update is committed to the order.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a OrderUpdated to a Map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited