DeviceData.fromJson constructor
from json map
Implementation
DeviceData.fromJson(Map<String, dynamic> json) {
serialNo = json['serial_no'];
modelCode = json['model_code'];
appName = json['app_name'];
appVersion = json['app_version'];
osName = json['os_name'];
osVersion = json['os_version'];
batteryInfo = json['battery_info'];
}