BackendServiceGroupHealth.fromJson constructor

BackendServiceGroupHealth.fromJson(
  1. Map json_
)

Implementation

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