toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessRole != null) 'accessRole': accessRole!,
      if (defaultReminders != null) 'defaultReminders': defaultReminders!,
      if (description != null) 'description': description!,
      if (etag != null) 'etag': etag!,
      if (items != null) 'items': items!,
      if (kind != null) 'kind': kind!,
      if (nextPageToken != null) 'nextPageToken': nextPageToken!,
      if (nextSyncToken != null) 'nextSyncToken': nextSyncToken!,
      if (summary != null) 'summary': summary!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
    };