toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (assignmentInfo != null) 'assignmentInfo': assignmentInfo!,
  if (completed != null) 'completed': completed!,
  if (deleted != null) 'deleted': deleted!,
  if (due != null) 'due': due!,
  if (etag != null) 'etag': etag!,
  if (hidden != null) 'hidden': hidden!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (links != null) 'links': links!,
  if (notes != null) 'notes': notes!,
  if (parent != null) 'parent': parent!,
  if (position != null) 'position': position!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (status != null) 'status': status!,
  if (title != null) 'title': title!,
  if (updated != null) 'updated': updated!,
  if (webViewLink != null) 'webViewLink': webViewLink!,
};