You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,24 +15,20 @@ import 'dart:core' as $core;
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'notifInput.pb.dart' as $64;
|
||||
import 'notifInput.pb.dart' as $41;
|
||||
|
||||
export 'notifInput.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.NotifInputAPI')
|
||||
class NotifInputAPIClient extends $grpc.Client {
|
||||
static final _$created = $grpc.ClientMethod<$64.NotifCreatedRequest, $64.NotifCreatedResponse>(
|
||||
static final _$created = $grpc.ClientMethod<$41.NotifCreatedRequest, $41.NotifCreatedResponse>(
|
||||
'/api.NotifInputAPI/Created',
|
||||
($64.NotifCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $64.NotifCreatedResponse.fromBuffer(value));
|
||||
($41.NotifCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $41.NotifCreatedResponse.fromBuffer(value));
|
||||
|
||||
NotifInputAPIClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
NotifInputAPIClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$64.NotifCreatedResponse> created($64.NotifCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$41.NotifCreatedResponse> created($41.NotifCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$created, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -42,18 +38,18 @@ abstract class NotifInputAPIServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.NotifInputAPI';
|
||||
|
||||
NotifInputAPIServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$64.NotifCreatedRequest, $64.NotifCreatedResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$41.NotifCreatedRequest, $41.NotifCreatedResponse>(
|
||||
'Created',
|
||||
created_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $64.NotifCreatedRequest.fromBuffer(value),
|
||||
($64.NotifCreatedResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $41.NotifCreatedRequest.fromBuffer(value),
|
||||
($41.NotifCreatedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$64.NotifCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$64.NotifCreatedRequest> $request) async {
|
||||
$async.Future<$41.NotifCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$41.NotifCreatedRequest> $request) async {
|
||||
return created($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$64.NotifCreatedResponse> created($grpc.ServiceCall call, $64.NotifCreatedRequest request);
|
||||
$async.Future<$41.NotifCreatedResponse> created($grpc.ServiceCall call, $41.NotifCreatedRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user