GrpcRouteRouteRule.fromJson constructor

GrpcRouteRouteRule.fromJson(
  1. Map json_
)

Implementation

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