toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (annotationType != null) 'annotationType': annotationType!,
  if (data != null) 'data': data!,
  if (encodedData != null) 'encodedData': encodedData!,
  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 (volumeId != null) 'volumeId': volumeId!,
};