PriceData class

Constructors

PriceData(List<StringData> name, double price, double discPrice, String priceUnit, ImageData image, {bool selected = false, int stock = 0})
PriceData.clone(PriceData source)
factory
PriceData.createEmpty()
factory
PriceData.fromJson(Map<String, dynamic> data)
factory

Properties

discPrice double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image ImageData
getter/setter pair
name List<StringData>
getter/setter pair
price double
getter/setter pair
priceUnit String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
getter/setter pair
stock int
getter/setter pair

Methods

getPrice() double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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