Device.fromJson constructor
Device.fromJson(
- dynamic json
Implementation
factory Device.fromJson(json) {
return Device(json["deviceId"], json["deviceName"], json["state"]);
}
factory Device.fromJson(json) {
return Device(json["deviceId"], json["deviceName"], json["state"]);
}