NetworkEndpointWithHealthStatus.fromJson constructor

NetworkEndpointWithHealthStatus.fromJson(
  1. Map json_
)

Implementation

NetworkEndpointWithHealthStatus.fromJson(core.Map json_)
    : this(
        healths: (json_['healths'] as core.List?)
            ?.map((value) => HealthStatusForNetworkEndpoint.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        networkEndpoint: json_.containsKey('networkEndpoint')
            ? NetworkEndpoint.fromJson(json_['networkEndpoint']
                as core.Map<core.String, core.dynamic>)
            : null,
      );