toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudProduct != null) 'cloudProduct': cloudProduct!,
      if (createTime != null) 'createTime': createTime!,
      if (cryptoKeyVersion != null) 'cryptoKeyVersion': cryptoKeyVersion!,
      if (cryptoKeyVersions != null) 'cryptoKeyVersions': cryptoKeyVersions!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (project != null) 'project': project!,
      if (projectId != null) 'projectId': projectId!,
      if (resourceType != null) 'resourceType': resourceType!,
    };