Terminal.fromJson constructor
Terminal.fromJson(
- Map<String, dynamic> json
)
Implementation
Terminal.fromJson(Map<String, dynamic> json) {
if (json["placeId"] is int) this.placeId = json["placeId"];
if (json["placeCity"] is String) this.placeCity = json["placeCity"];
if (json["placeLabel"] is String) this.placeLabel = json["placeLabel"];
if (json["placeLng"] is double) this.placeLng = json["placeLng"];
if (json["placeLat"] is double) this.placeLat = json["placeLat"];
if (json["placeCountry"] is String)
this.placeCountry = json["placeCountry"];
if (json["placeCountryCode"] is String)
this.placeCountryCode = json["placeCountryCode"];
if (json["placeZip"] is String) this.placeZip = json["placeZip"];
if (json["placeStreet1"] is String)
this.placeStreet1 = json["placeStreet1"];
if (json["placeStreet2"] is String)
this.placeStreet2 = json["placeStreet2"];
if (json["utcModifier"] is String) this.utcModifier = json["utcModifier"];
if (json["id"] is int) this.id = json["id"];
if (json["name"] is String) this.name = json["name"];
if (json["authCode"] is String) this.authCode = json["authCode"];
if (json["ticketOptionalStr"] is String)
this.ticketOptionalStr = json["ticketOptionalStr"];
if (json["arckipel"] is int) this.arckipel = json["arckipel"];
if (json["label"] is String) this.label = json["label"];
if (json["description"] is String) this.description = json["description"];
if (json["productId"] is int) this.productId = json["productId"];
if (json["productSerial"] is String)
this.productSerial = json["productSerial"];
if (json["statusLabel"] is String) this.statusLabel = json["statusLabel"];
if (json["statusColor"] is String) this.statusColor = json["statusColor"];
if (json["pictureUrl"] is String) this.pictureUrl = json["pictureUrl"];
if (json["password"] is String) this.password = json["password"];
if (json["terminalType"] is String)
this.terminalType = json["terminalType"];
if (json["terminalTypeName"] is String)
this.terminalTypeName = json["terminalTypeName"];
if (json["warrantyUntil"] is int)
this.warrantyUntil = json["warrantyUntil"];
if (json["purchasedAt"] is int) this.purchasedAt = json["purchasedAt"];
if (json["macAddress"] is String) this.macAddress = json["macAddress"];
if (json["moreInfos"] is String) this.moreInfos = json["moreInfos"];
if (json["timeSlide"] is int) this.timeSlide = json["timeSlide"];
}