PerXdsConfig.fromJson constructor

PerXdsConfig.fromJson(
  1. Map json_
)

Implementation

PerXdsConfig.fromJson(core.Map json_)
    : this(
        clientStatus: json_.containsKey('clientStatus')
            ? json_['clientStatus'] as core.String
            : null,
        clusterConfig: json_.containsKey('clusterConfig')
            ? ClustersConfigDump.fromJson(
                json_['clusterConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        endpointConfig: json_.containsKey('endpointConfig')
            ? EndpointsConfigDump.fromJson(json_['endpointConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        listenerConfig: json_.containsKey('listenerConfig')
            ? ListenersConfigDump.fromJson(json_['listenerConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        routeConfig: json_.containsKey('routeConfig')
            ? RoutesConfigDump.fromJson(
                json_['routeConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        scopedRouteConfig: json_.containsKey('scopedRouteConfig')
            ? ScopedRoutesConfigDump.fromJson(json_['scopedRouteConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );