toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (exec != null) 'exec': exec!,
  if (failureThreshold != null) 'failureThreshold': failureThreshold!,
  if (grpc != null) 'grpc': grpc!,
  if (httpGet != null) 'httpGet': httpGet!,
  if (initialDelaySeconds != null)
    'initialDelaySeconds': initialDelaySeconds!,
  if (periodSeconds != null) 'periodSeconds': periodSeconds!,
  if (successThreshold != null) 'successThreshold': successThreshold!,
  if (tcpSocket != null) 'tcpSocket': tcpSocket!,
  if (timeoutSeconds != null) 'timeoutSeconds': timeoutSeconds!,
};