toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (annotationCount != null) 'annotationCount': annotationCount!,
  if (annotationTypes != null) 'annotationTypes': annotationTypes!,
  if (annotationsDataLink != null)
    'annotationsDataLink': annotationsDataLink!,
  if (annotationsLink != null) 'annotationsLink': annotationsLink!,
  if (contentVersion != null) 'contentVersion': contentVersion!,
  if (dataCount != null) 'dataCount': dataCount!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (layerId != null) 'layerId': layerId!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (updated != null) 'updated': updated!,
  if (volumeAnnotationsVersion != null)
    'volumeAnnotationsVersion': volumeAnnotationsVersion!,
  if (volumeId != null) 'volumeId': volumeId!,
};