NoonOrderItem class

A line item attached to a Noon order.

Constructors

NoonOrderItem({required String name, required int quantity, required num unitPrice})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Item name.
final
quantity int
Quantity of the item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unitPrice num
Unit price of the item.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes the item for the INITIATE request.
toString() String
A string representation of this object.
inherited

Operators

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