TDPresetProperties constructor

TDPresetProperties(
  1. Map<String, dynamic> presetProperties
)

Implementation

TDPresetProperties(Map<String, dynamic> presetProperties) {
  this.presetProperties = presetProperties;
  this.bundleId = presetProperties['#bundle_id'];
  this.carrier = presetProperties['#carrier'];
  this.deviceId = presetProperties['#device_id'];
  this.deviceModel = presetProperties['#device_model'];
  this.manufacture = presetProperties['#manufacturer'];
  this.networkType = presetProperties['#network_type'];
  this.os = presetProperties['#os'];
  this.osVersion = presetProperties['#os_version'];
  this.screenHeight = presetProperties['#screen_height'];
  this.screenWidth = presetProperties['#screen_width'];
  this.systemLanguage = presetProperties['#system_language'];
  this.zoneOffset = presetProperties['#zone_offset'];
  this.appVersion = presetProperties['#app_version'];
}