GrpcRoute_MethodMatch constructor

GrpcRoute_MethodMatch({
  1. GrpcRoute_MethodMatch_Type? type,
  2. String? grpcService,
  3. String? grpcMethod,
  4. bool? caseSensitive,
})

Implementation

factory GrpcRoute_MethodMatch({
  GrpcRoute_MethodMatch_Type? type,
  $core.String? grpcService,
  $core.String? grpcMethod,
  $core.bool? caseSensitive,
}) {
  final $result = create();
  if (type != null) {
    $result.type = type;
  }
  if (grpcService != null) {
    $result.grpcService = grpcService;
  }
  if (grpcMethod != null) {
    $result.grpcMethod = grpcMethod;
  }
  if (caseSensitive != null) {
    $result.caseSensitive = caseSensitive;
  }
  return $result;
}