OrderDetail class
订单详情
Constructors
- OrderDetail({required int id, required String orderId, required String orderSn, required String outOrderSn, required int orderStatus, required int paymentStatus, required double totalAmount, required int totalQuantity, required String createdAt})
-
OrderDetail.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- orderId → String
-
final
- orderSn → String
-
final
- orderStatus → int
-
final
- outOrderSn → String
-
final
- paymentStatus → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalAmount → double
-
final
- totalQuantity → int
-
final
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