Device.fromJson constructor

Device.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Device.fromJson(Map<String, dynamic> json) => Device(
  androidId: json["androidId"],
  apiLevel: json["apiLevel"],
  baseOs: json["baseOs"],
  batteryLevel: json["batteryLevel"],
  brand: json["brand"],
  buildNumber: json["buildNumber"],
  camera: Camera.fromJson(json["camera"]),
  device: json["device"],
  deviceId: json["deviceId"],
  deviceName: json["deviceName"],
  fingerprint: json["fingerprint"],
  firstInstallTime: json["firstInstallTime"],
  isTablet: json["isTablet"],
  manufacturer: json["manufacturer"],
  maxMemory: json["maxMemory"],
  network: Network.fromJson(json["network"]),
  readableVersion: json["readableVersion"],
  uniqueId: json["uniqueId"],
);