toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (datasetReference != null) 'datasetReference': datasetReference!,
  if (externalDatasetReference != null)
    'externalDatasetReference': externalDatasetReference!,
  if (friendlyName != null) 'friendlyName': friendlyName!,
  if (id != null) 'id': id!,
  if (kind != null) 'kind': kind!,
  if (labels != null) 'labels': labels!,
  if (location != null) 'location': location!,
};