toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'isSimulator': this.isSimulator,
    'locale': this.locale,
    'language': this.language,
    'deviceId': this.deviceId,
    'geo': this.geo?.toMap(),
    'ipAddress': this.ipAddress,
    'deviceType': this.deviceType,
    'software': this.software,
    'deviceBrand': this.deviceBrand,
    'deviceModel': this.deviceModel,
    'softwareVersion': this.softwareVersion,
  }.valuesNotNull();
}