Product class

Constructors

Product({required String productId, String? name, String? description, bool? isAvailable, List<ProductUnit>? units})

Properties

description String?
The description of the product.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAvailable bool?
The availability of the product.
getter/setter pair
name String?
The name of the product.
getter/setter pair
productId String
A unique identifier of the product.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
units List<ProductUnit>?
The unit array of the product
getter/setter pair

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