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