MaterialModel class

Constructors

MaterialModel({int id = -1, String name = '', double volume = .0, double price = .0, int material_unit_id = -1, String material_unit_name = ''})

Properties

code String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
images List<String>
final
material_type_id int
getter/setter pair
material_type_name String
getter/setter pair
material_unit_id int
getter/setter pair
material_unit_name String
getter/setter pair
name String
getter/setter pair
origin double
getter/setter pair
price double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
volume double
getter/setter pair
warehouse_date String
getter/setter pair

Methods

copy(MaterialModel value) → void
fromJson(Map<String, dynamic> json) MaterialModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(int id, String name, int materialId, String materialName, int unitId, String unitName, double volume, double price) → void
toString() String
A string representation of this object.
inherited

Operators

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