toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (checkInterval != null) 'checkInterval': checkInterval!,
      if (disableHealthCheck != null)
        'disableHealthCheck': disableHealthCheck!,
      if (healthyThreshold != null) 'healthyThreshold': healthyThreshold!,
      if (host != null) 'host': host!,
      if (restartThreshold != null) 'restartThreshold': restartThreshold!,
      if (timeout != null) 'timeout': timeout!,
      if (unhealthyThreshold != null)
        'unhealthyThreshold': unhealthyThreshold!,
    };