toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final appVersion = this.appVersion;
  final channel = this.channel;
  final deviceType = this.deviceType;
  final make = this.make;
  final model = this.model;
  final platform = this.platform;
  return {
    if (appVersion != null) 'AppVersion': appVersion,
    if (channel != null) 'Channel': channel,
    if (deviceType != null) 'DeviceType': deviceType,
    if (make != null) 'Make': make,
    if (model != null) 'Model': model,
    if (platform != null) 'Platform': platform,
  };
}