TlsRouteRouteRule.fromJson constructor

TlsRouteRouteRule.fromJson(
  1. Map json_
)

Implementation

TlsRouteRouteRule.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? TlsRouteRouteAction.fromJson(
                json_['action'] as core.Map<core.String, core.dynamic>)
            : null,
        matches: json_.containsKey('matches')
            ? (json_['matches'] as core.List)
                .map((value) => TlsRouteRouteMatch.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );