FNDeviceInfo.fromJson constructor

FNDeviceInfo.fromJson(
  1. Map json
)

Implementation

factory FNDeviceInfo.fromJson(Map<dynamic, dynamic> json) {
  return FNDeviceInfo(
    deviceType: json['deviceType'],
    deviceLanguage: json['deviceLanguage'],
    identifierForVendor: json['identifierForVendor'],
    deviceIMEI: json['deviceIMEI'],
    systemVersion: json['systemVersion'],
    deviceCountry: json['deviceCountry'],
    deviceTimeZone: json['deviceTimeZone'],
    deviceName: json['deviceName'],
    localizedModel: json['localizedModel'],
    deviceModel: json['deviceModel'],
    deviceManufacturer: json['deviceManufacturer'],
    deviceBrand: json['deviceBrand'],
    deviceProduct: json['deviceProduct'],
    deviceHardware: json['deviceHardware'],
    deviceOSVersion: json['deviceOSVersion'],
    deviceSDKVersion: json['deviceSDKVersion'].toString(),
    deviceID: json['deviceID'],
  );
}