Device.fromJson constructor

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

Implementation

factory Device.fromJson(Map<String, dynamic> json) {
  return Device(
    identifier: json['identifier'],
    manufacturer: json['manufacturer'],
    model: json['model'],
    networkCarrier: json['network_carrier'],
    platform: json['platform'],
    platformVersion: json['platform_version'],
  );
}