toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'device': device,
    'os': os,
    'screenResolution': screenResolution,
    'networkType': networkType,
    'batteryLevel': batteryLevel,
  };
}