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