ShoppingCartItem class

A product or service.

Implemented types
Mixed in types

Constructors

ShoppingCartItem({Meta meta, Product product, int quantity})
factory
ShoppingCartItem.build([void updates(ShoppingCartItemBuilder b)])
factory

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
meta Meta
@BuiltValueField(wireName: '@meta'), @nullable, read-only, inherited
product Product
@nullable, read-only
quantity → int
@nullable, read-only
recipientAddress Place
@nullable, read-only
recipientOrganization Organization
@nullable, read-only
recipientPerson Person
@nullable, read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(ShoppingCartItemBuilder)) ShoppingCartItem
Rebuilds the instance. [...]
inherited
toBuilder() ShoppingCartItemBuilder
Converts the instance to a builder B. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited

Static Properties

serializer → Serializer<ShoppingCartItem>
read-only