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!,
      if (topLevelControllerName != null)
        'topLevelControllerName': topLevelControllerName!,
      if (topLevelControllerType != null)
        'topLevelControllerType': topLevelControllerType!,
    };