toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (calendar != null) 'calendar': calendar!,
      if (event != null) 'event': event!,
      if (kind != null) 'kind': kind!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
    };