toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (endAt != null) 'endAt': endAt!,
      if (note != null) 'note': note!,
      if (startAt != null) 'startAt': startAt!,
      if (videoId != null) 'videoId': videoId!,
      if (videoPublishedAt != null)
        'videoPublishedAt': videoPublishedAt!.toUtc().toIso8601String(),
    };