TlsRouteRouteMatch.fromJson constructor

TlsRouteRouteMatch.fromJson(
  1. Map json_
)

Implementation

TlsRouteRouteMatch.fromJson(core.Map json_)
    : this(
        alpn: json_.containsKey('alpn')
            ? (json_['alpn'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sniHost: json_.containsKey('sniHost')
            ? (json_['sniHost'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );