toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (androidLatestVersion != null) {
    _json[r'AndroidLatestVersion'] = androidLatestVersion;
  }
  if (androidMinVersion != null) {
    _json[r'AndroidMinVersion'] = androidMinVersion;
  }
  if (desktopLatestVersion != null) {
    _json[r'DesktopLatestVersion'] = desktopLatestVersion;
  }
  if (desktopMinVersion != null) {
    _json[r'DesktopMinVersion'] = desktopMinVersion;
  }
  if (iosLatestVersion != null) {
    _json[r'IosLatestVersion'] = iosLatestVersion;
  }
  if (iosMinVersion != null) {
    _json[r'IosMinVersion'] = iosMinVersion;
  }
  if (databaseStatus != null) {
    _json[r'database_status'] = databaseStatus;
  }
  if (filestoreStatus != null) {
    _json[r'filestore_status'] = filestoreStatus;
  }
  if (status != null) {
    _json[r'status'] = status;
  }
  if (canReceiveNotifications != null) {
    _json[r'CanReceiveNotifications'] = canReceiveNotifications;
  }
  return _json;
}