toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (kubernetesApiServerVersion != null)
    'kubernetesApiServerVersion': kubernetesApiServerVersion!,
  if (memoryMb != null) 'memoryMb': memoryMb!,
  if (nodeCount != null) 'nodeCount': nodeCount!,
  if (nodeProviderId != null) 'nodeProviderId': nodeProviderId!,
  if (updateTime != null) 'updateTime': updateTime!,
  if (vcpuCount != null) 'vcpuCount': vcpuCount!,
};