HealthChecksScopedList.fromJson constructor
HealthChecksScopedList.fromJson(
- Map json_
Implementation
HealthChecksScopedList.fromJson(core.Map json_)
: this(
healthChecks: json_.containsKey('healthChecks')
? (json_['healthChecks'] as core.List)
.map((value) => HealthCheck.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
warning: json_.containsKey('warning')
? HealthChecksScopedListWarning.fromJson(
json_['warning'] as core.Map<core.String, core.dynamic>)
: null,
);