BackendServiceGroupHealth.fromJson constructor

BackendServiceGroupHealth.fromJson(
  1. Map json_
)

Implementation

BackendServiceGroupHealth.fromJson(core.Map json_)
    : this(
        annotations: json_.containsKey('annotations')
            ? (json_['annotations'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        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,
      );