toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clusterName != null) 'clusterName': clusterName!,
      if (location != null) 'location': location!,
      if (namespaceName != null) 'namespaceName': namespaceName!,
      if (projectId != null) 'projectId': projectId!,
    };