toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedProjects != null) 'allowedProjects': allowedProjects!,
      if (clusterHostname != null) 'clusterHostname': clusterHostname!,
      if (enablePrivateEndpoint != null)
        'enablePrivateEndpoint': enablePrivateEndpoint!,
      if (serviceAttachmentUri != null)
        'serviceAttachmentUri': serviceAttachmentUri!,
    };