ProductModel class
Constructors
- ProductModel({int? terminalId, int? id, String? label, String? description, String? productSerial, int? purchasedAt, int? warrantyUntil, String? productCat, String? categoryColor, String? productRef, String? codeReference, String? pictureUrl, int? statusId, String? statusLabel, String? statusColor, int? statusDisplay, double? lat, double? lng, int? placeId, String? placeCity, String? placeLabel, double? placeLng, double? placeLat, String? placeCountry, String? placeCountryCode, String? placeZip, String? placeStreet1, String? placeStreet2, String? utcModifier, String? macAddress, String? moreInfos, int? hasOwner})
-
ProductModel.fromJson(Map<
String, dynamic> json)
Properties
- categoryColor ↔ String?
-
getter/setter pair
- codeReference ↔ String?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasOwner ↔ int?
-
getter/setter pair
- id ↔ int?
-
getter/setter pair
- label ↔ String?
-
getter/setter pair
- lat ↔ double?
-
getter/setter pair
- lng ↔ double?
-
getter/setter pair
- macAddress ↔ String?
-
getter/setter pair
- moreInfos ↔ String?
-
getter/setter pair
- pictureUrl ↔ String?
-
getter/setter pair
- placeCity ↔ String?
-
getter/setter pair
- placeCountry ↔ String?
-
getter/setter pair
- placeCountryCode ↔ String?
-
getter/setter pair
- placeId ↔ int?
-
getter/setter pair
- placeLabel ↔ String?
-
getter/setter pair
- placeLat ↔ double?
-
getter/setter pair
- placeLng ↔ double?
-
getter/setter pair
- placeStreet1 ↔ String?
-
getter/setter pair
- placeStreet2 ↔ String?
-
getter/setter pair
- placeZip ↔ String?
-
getter/setter pair
- productCat ↔ String?
-
getter/setter pair
- productRef ↔ String?
-
getter/setter pair
- productSerial ↔ String?
-
getter/setter pair
- purchasedAt ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusColor ↔ String?
-
getter/setter pair
- statusDisplay ↔ int?
-
getter/setter pair
- statusId ↔ int?
-
getter/setter pair
- statusLabel ↔ String?
-
getter/setter pair
- terminalId ↔ int?
-
getter/setter pair
- utcModifier ↔ String?
-
getter/setter pair
- warrantyUntil ↔ int?
-
getter/setter pair
Methods
-
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