TargetPoolInstanceHealth.fromJson constructor

TargetPoolInstanceHealth.fromJson(
  1. Map json_
)

Implementation

TargetPoolInstanceHealth.fromJson(core.Map json_)
    : this(
        healthStatus: json_.containsKey('healthStatus')
            ? (json_['healthStatus'] as core.List)
                .map((value) => HealthStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );