MomoItem class

Thông tin sản phẩm trong đơn hàng

Constructors

MomoItem({required String id, required String name, String? description, String? category, String? imageUrl, String? manufacturer, required int price, String currency = 'VND', required int quantity, String? unit, required int totalPrice, int? taxAmount})

Properties

category String?
final
currency String
final
description String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
imageUrl String?
final
manufacturer String?
final
name String
final
price int
final
quantity int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxAmount int?
final
totalPrice int
final
unit String?
final

Methods

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

Operators

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