toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (awsMetadata != null) 'awsMetadata': awsMetadata!,
  if (azureMetadata != null) 'azureMetadata': azureMetadata!,
  if (cloudProvider != null) 'cloudProvider': cloudProvider!,
  if (displayName != null) 'displayName': displayName!,
  if (folders != null) 'folders': folders!,
  if (location != null) 'location': location!,
  if (name != null) 'name': name!,
  if (organization != null) 'organization': organization!,
  if (parentDisplayName != null) 'parentDisplayName': parentDisplayName!,
  if (parentName != null) 'parentName': parentName!,
  if (projectDisplayName != null) 'projectDisplayName': projectDisplayName!,
  if (projectName != null) 'projectName': projectName!,
  if (resourcePath != null) 'resourcePath': resourcePath!,
  if (resourcePathString != null) 'resourcePathString': resourcePathString!,
  if (service != null) 'service': service!,
  if (type != null) 'type': type!,
};