TunnelDestGroup.fromJson constructor

TunnelDestGroup.fromJson(
  1. Map json_
)

Implementation

TunnelDestGroup.fromJson(core.Map json_)
    : this(
        cidrs: json_.containsKey('cidrs')
            ? (json_['cidrs'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        fqdns: json_.containsKey('fqdns')
            ? (json_['fqdns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );