Basket class

Basket class. This class includes all Basket entries.

Constructors

Basket({required int qty, required String sku, required double vat, required String name, required int price})
Basket.fromMap(Map map)
Mapping: Map -> Basket.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
price int
final
qty int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String
final
vat double
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