toJson method

  1. @override
Map<String, dynamic> toJson()
override

Ret convert to Json Map

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "serial_no": serialNo,
    "model_code": modelCode,
    "app_name": appName,
    "app_version": appVersion,
    "os_name": osName,
    "os_version": osVersion,
    "battery_info": batteryInfo,
  };
}