GrpcRouteMethodMatch.fromJson constructor

GrpcRouteMethodMatch.fromJson(
  1. Map json_
)

Implementation

GrpcRouteMethodMatch.fromJson(core.Map json_)
    : this(
        caseSensitive: json_.containsKey('caseSensitive')
            ? json_['caseSensitive'] as core.bool
            : null,
        grpcMethod: json_.containsKey('grpcMethod')
            ? json_['grpcMethod'] as core.String
            : null,
        grpcService: json_.containsKey('grpcService')
            ? json_['grpcService'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );