toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'custom'] = this.custom;
    json[r'members'] = this.members;
  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;
  }
  if (this.team != null) {
    json[r'team'] = this.team;
  } else {
    json[r'team'] = null;
  }
  if (this.video != null) {
    json[r'video'] = this.video;
  } else {
    json[r'video'] = null;
  }
  return json;
}