OrderCardItem class

One line of an order.

Annotations

Constructors

OrderCardItem({required String name, required int quantity, required num price, String? variant})
Creates an order line.
const
OrderCardItem.fromJson(Json j)
Parses the wire shape.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Name.
final
price → num
Unit price.
final
quantity → int
Quantity.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variant → String?
Variant label.
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