ClientConfig.fromJson constructor

ClientConfig.fromJson(
  1. Map json_
)

Implementation

ClientConfig.fromJson(core.Map json_)
    : this(
        node: json_.containsKey('node')
            ? Node.fromJson(
                json_['node'] as core.Map<core.String, core.dynamic>)
            : null,
        xdsConfig: json_.containsKey('xdsConfig')
            ? (json_['xdsConfig'] as core.List)
                .map((value) => PerXdsConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );