Item class

Constructors

Item({String? name, num? pricePerUnit, num? quantity, num? weight, num? height, num? width, num? length})
Item.fromMap(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height num?
getter/setter pair
length num?
getter/setter pair
name String?
getter/setter pair
pricePerUnit num?
getter/setter pair
quantity num?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight num?
getter/setter pair
width num?
getter/setter pair

Methods

copyWith({String? name, int? pricePerUnit, int? quantity, int? weight, int? height, int? width, int? length}) Item
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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