BasketItem class

Constructors

BasketItem({required String id, required String price, required String name, required String category1, String? category2, required BasketItemType itemType, String? subMerchantKey, String? subMerchantPrice})

Properties

category1 String
getter/setter pair
category2 String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
itemType BasketItemType
getter/setter pair
name String
getter/setter pair
price String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subMerchantKey String?
getter/setter pair
subMerchantPrice String?
getter/setter pair

Methods

copyWith({String? id, String? name, String? category1, String? category2, BasketItemType? itemType, String? price, String? subMerchantKey, String? subMerchantPrice}) BasketItem
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toPKIRequestString() String
toString() String
A string representation of this object.
inherited

Operators

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