Input$TechDeviceSpecsInput.fromJson constructor

Input$TechDeviceSpecsInput.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Input$TechDeviceSpecsInput.fromJson(Map<String, dynamic> data) {
  final result$data = <String, dynamic>{};
  if (data.containsKey('technology')) {
    final l$technology = data['technology'];
    result$data['technology'] = (l$technology as String?);
  }
  if (data.containsKey('band2g')) {
    final l$band2g = data['band2g'];
    result$data['band2g'] = (l$band2g as String?);
  }
  if (data.containsKey('gprs')) {
    final l$gprs = data['gprs'];
    result$data['gprs'] = (l$gprs as String?);
  }
  if (data.containsKey('edge')) {
    final l$edge = data['edge'];
    result$data['edge'] = (l$edge as String?);
  }
  if (data.containsKey('announced')) {
    final l$announced = data['announced'];
    result$data['announced'] = (l$announced as String?);
  }
  if (data.containsKey('status')) {
    final l$status = data['status'];
    result$data['status'] = (l$status as String?);
  }
  if (data.containsKey('dimensions')) {
    final l$dimensions = data['dimensions'];
    result$data['dimensions'] = (l$dimensions as String?);
  }
  if (data.containsKey('weight')) {
    final l$weight = data['weight'];
    result$data['weight'] = (l$weight as String?);
  }
  if (data.containsKey('sim')) {
    final l$sim = data['sim'];
    result$data['sim'] = (l$sim as String?);
  }
  if (data.containsKey('type')) {
    final l$type = data['type'];
    result$data['type'] = (l$type as String?);
  }
  if (data.containsKey('size')) {
    final l$size = data['size'];
    result$data['size'] = (l$size as String?);
  }
  if (data.containsKey('resolution')) {
    final l$resolution = data['resolution'];
    result$data['resolution'] = (l$resolution as String?);
  }
  if (data.containsKey('cardSlot')) {
    final l$cardSlot = data['cardSlot'];
    result$data['cardSlot'] = (l$cardSlot as String?);
  }
  if (data.containsKey('phonebook')) {
    final l$phonebook = data['phonebook'];
    result$data['phonebook'] = (l$phonebook as String?);
  }
  if (data.containsKey('callRecords')) {
    final l$callRecords = data['callRecords'];
    result$data['callRecords'] = (l$callRecords as String?);
  }
  if (data.containsKey('loudspeaker')) {
    final l$loudspeaker = data['loudspeaker'];
    result$data['loudspeaker'] = (l$loudspeaker as String?);
  }
  if (data.containsKey('alertTypes')) {
    final l$alertTypes = data['alertTypes'];
    result$data['alertTypes'] = (l$alertTypes as String?);
  }
  if (data.containsKey('jack35mm')) {
    final l$jack35mm = data['jack35mm'];
    result$data['jack35mm'] = (l$jack35mm as String?);
  }
  if (data.containsKey('wlan')) {
    final l$wlan = data['wlan'];
    result$data['wlan'] = (l$wlan as String?);
  }
  if (data.containsKey('bluetooth')) {
    final l$bluetooth = data['bluetooth'];
    result$data['bluetooth'] = (l$bluetooth as String?);
  }
  if (data.containsKey('gps')) {
    final l$gps = data['gps'];
    result$data['gps'] = (l$gps as String?);
  }
  if (data.containsKey('radio')) {
    final l$radio = data['radio'];
    result$data['radio'] = (l$radio as String?);
  }
  if (data.containsKey('usb')) {
    final l$usb = data['usb'];
    result$data['usb'] = (l$usb as String?);
  }
  if (data.containsKey('sensors')) {
    final l$sensors = data['sensors'];
    result$data['sensors'] = (l$sensors as String?);
  }
  if (data.containsKey('messaging')) {
    final l$messaging = data['messaging'];
    result$data['messaging'] = (l$messaging as String?);
  }
  if (data.containsKey('browser')) {
    final l$browser = data['browser'];
    result$data['browser'] = (l$browser as String?);
  }
  if (data.containsKey('clock')) {
    final l$clock = data['clock'];
    result$data['clock'] = (l$clock as String?);
  }
  if (data.containsKey('alarm')) {
    final l$alarm = data['alarm'];
    result$data['alarm'] = (l$alarm as String?);
  }
  if (data.containsKey('games')) {
    final l$games = data['games'];
    result$data['games'] = (l$games as String?);
  }
  if (data.containsKey('languages')) {
    final l$languages = data['languages'];
    result$data['languages'] = (l$languages as String?);
  }
  if (data.containsKey('java')) {
    final l$java = data['java'];
    result$data['java'] = (l$java as String?);
  }
  if (data.containsKey('colors')) {
    final l$colors = data['colors'];
    result$data['colors'] = (l$colors as String?);
  }
  return Input$TechDeviceSpecsInput._(result$data);
}