HealthCheck.fromJson constructor
HealthCheck.fromJson(
- Map json_
Implementation
HealthCheck.fromJson(core.Map json_)
: this(
checkInterval: json_.containsKey('checkInterval')
? json_['checkInterval'] as core.String
: null,
disableHealthCheck: json_.containsKey('disableHealthCheck')
? json_['disableHealthCheck'] as core.bool
: null,
healthyThreshold: json_.containsKey('healthyThreshold')
? json_['healthyThreshold'] as core.int
: null,
host: json_.containsKey('host') ? json_['host'] as core.String : null,
restartThreshold: json_.containsKey('restartThreshold')
? json_['restartThreshold'] as core.int
: null,
timeout: json_.containsKey('timeout')
? json_['timeout'] as core.String
: null,
unhealthyThreshold: json_.containsKey('unhealthyThreshold')
? json_['unhealthyThreshold'] as core.int
: null,
);