toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  'shortCode': shortCode,
  'type': type.wire,
  if (platform != null) 'platform': platform?.wire,
  if (appVersion != null) 'appVersion': appVersion,
  if (sdkVersion != null) 'sdkVersion': sdkVersion,
};