GrpcRouteRouteMatch.fromJson constructor

GrpcRouteRouteMatch.fromJson(
  1. Map json_
)

Implementation

GrpcRouteRouteMatch.fromJson(core.Map json_)
    : this(
        headers: json_.containsKey('headers')
            ? (json_['headers'] as core.List)
                .map((value) => GrpcRouteHeaderMatch.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        method: json_.containsKey('method')
            ? GrpcRouteMethodMatch.fromJson(
                json_['method'] as core.Map<core.String, core.dynamic>)
            : null,
      );