toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowOnlyMetadataSharing != null)
    'allowOnlyMetadataSharing': allowOnlyMetadataSharing!,
  if (bigqueryDataset != null) 'bigqueryDataset': bigqueryDataset!,
  if (categories != null) 'categories': categories!,
  if (commercialInfo != null) 'commercialInfo': commercialInfo!,
  if (dataProvider != null) 'dataProvider': dataProvider!,
  if (description != null) 'description': description!,
  if (discoveryType != null) 'discoveryType': discoveryType!,
  if (displayName != null) 'displayName': displayName!,
  if (documentation != null) 'documentation': documentation!,
  if (icon != null) 'icon': icon!,
  if (logLinkedDatasetQueryUserEmail != null)
    'logLinkedDatasetQueryUserEmail': logLinkedDatasetQueryUserEmail!,
  if (name != null) 'name': name!,
  if (primaryContact != null) 'primaryContact': primaryContact!,
  if (publisher != null) 'publisher': publisher!,
  if (pubsubTopic != null) 'pubsubTopic': pubsubTopic!,
  if (requestAccess != null) 'requestAccess': requestAccess!,
  if (resourceType != null) 'resourceType': resourceType!,
  if (restrictedExportConfig != null)
    'restrictedExportConfig': restrictedExportConfig!,
  if (state != null) 'state': state!,
};