toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationDataId != null) 'annotationDataId': annotationDataId!,
      if (annotationDataLink != null)
        'annotationDataLink': annotationDataLink!,
      if (annotationType != null) 'annotationType': annotationType!,
      if (contentRanges != null) 'contentRanges': contentRanges!,
      if (data != null) 'data': data!,
      if (deleted != null) 'deleted': deleted!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (layerId != null) 'layerId': layerId!,
      if (pageIds != null) 'pageIds': pageIds!,
      if (selectedText != null) 'selectedText': selectedText!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (updated != null) 'updated': updated!,
      if (volumeId != null) 'volumeId': volumeId!,
    };