@@ -34,29 +34,22 @@ class TestClient extends $grpc.Client {
3434 TestClient($grpc.ClientChannel channel,
3535 {$grpc.CallOptions? options,
3636 $core.Iterable<$grpc.ClientInterceptor>? interceptors})
37- : super(channel, options: options, interceptors: interceptors);
37+ : super(channel, options: options,
38+ interceptors: interceptors);
3839
39- $grpc.ResponseFuture<$0.Output> unary($0.Input request,
40- {$grpc.CallOptions? options}) {
40+ $grpc.ResponseFuture<$0.Output> unary($0.Input request, {$grpc.CallOptions? options}) {
4141 return $createUnaryCall(_$unary, request, options: options);
4242 }
4343
44- $grpc.ResponseFuture<$0.Output> clientStreaming(
45- $async.Stream<$0.Input> request,
46- {$grpc.CallOptions? options}) {
47- return $createStreamingCall(_$clientStreaming, request, options: options)
48- .single;
44+ $grpc.ResponseFuture<$0.Output> clientStreaming($async.Stream<$0.Input> request, {$grpc.CallOptions? options}) {
45+ return $createStreamingCall(_$clientStreaming, request, options: options).single;
4946 }
5047
51- $grpc.ResponseStream<$0.Output> serverStreaming($0.Input request,
52- {$grpc.CallOptions? options}) {
53- return $createStreamingCall(
54- _$serverStreaming, $async.Stream.fromIterable([request]),
55- options: options);
48+ $grpc.ResponseStream<$0.Output> serverStreaming($0.Input request, {$grpc.CallOptions? options}) {
49+ return $createStreamingCall(_$serverStreaming, $async.Stream.fromIterable([request]), options: options);
5650 }
5751
58- $grpc.ResponseStream<$0.Output> bidirectional($async.Stream<$0.Input> request,
59- {$grpc.CallOptions? options}) {
52+ $grpc.ResponseStream<$0.Output> bidirectional($async.Stream<$0.Input> request, {$grpc.CallOptions? options}) {
6053 return $createStreamingCall(_$bidirectional, request, options: options);
6154 }
6255}
@@ -95,21 +88,16 @@ abstract class TestServiceBase extends $grpc.Service {
9588 ($0.Output value) => value.writeToBuffer()));
9689 }
9790
98- $async.Future<$0.Output> unary_Pre(
99- $grpc.ServiceCall call, $async.Future<$0.Input> request) async {
91+ $async.Future<$0.Output> unary_Pre($grpc.ServiceCall call, $async.Future<$0.Input> request) async {
10092 return unary(call, await request);
10193 }
10294
103- $async.Stream<$0.Output> serverStreaming_Pre(
104- $grpc.ServiceCall call, $async.Future<$0.Input> request) async* {
95+ $async.Stream<$0.Output> serverStreaming_Pre($grpc.ServiceCall call, $async.Future<$0.Input> request) async* {
10596 yield* serverStreaming(call, await request);
10697 }
10798
10899 $async.Future<$0.Output> unary($grpc.ServiceCall call, $0.Input request);
109- $async.Future<$0.Output> clientStreaming(
110- $grpc.ServiceCall call, $async.Stream<$0.Input> request);
111- $async.Stream<$0.Output> serverStreaming(
112- $grpc.ServiceCall call, $0.Input request);
113- $async.Stream<$0.Output> bidirectional(
114- $grpc.ServiceCall call, $async.Stream<$0.Input> request);
100+ $async.Future<$0.Output> clientStreaming($grpc.ServiceCall call, $async.Stream<$0.Input> request);
101+ $async.Stream<$0.Output> serverStreaming($grpc.ServiceCall call, $0.Input request);
102+ $async.Stream<$0.Output> bidirectional($grpc.ServiceCall call, $async.Stream<$0.Input> request);
115103}
0 commit comments