toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'custom'] = this.custom;
  if (this.settingsOverride != null) {
    json[r'settings_override'] = this.settingsOverride;
  } else {
    json[r'settings_override'] = null;
  }
  if (this.startsAt != null) {
    json[r'starts_at'] = this.startsAt!.toUtc().toIso8601String();
  } else {
    json[r'starts_at'] = null;
  }
  return json;
}