You've already forked dart-core-sdk
Release 1.10.6
This commit is contained in:
@@ -15,28 +15,28 @@ import 'dart:core' as $core;
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'notification.pb.dart' as $42;
|
||||
import 'notification.pb.dart' as $39;
|
||||
|
||||
export 'notification.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.NotificationService')
|
||||
class NotificationServiceClient extends $grpc.Client {
|
||||
static final _$publishToUser = $grpc.ClientMethod<$42.PublishToUserRequest, $42.PublishToUserResult>(
|
||||
static final _$publishToUser = $grpc.ClientMethod<$39.PublishToUserRequest, $39.PublishToUserResult>(
|
||||
'/api.NotificationService/PublishToUser',
|
||||
($42.PublishToUserRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $42.PublishToUserResult.fromBuffer(value));
|
||||
static final _$list = $grpc.ClientMethod<$42.ListNotificationRequest, $42.ListNotificationResult>(
|
||||
($39.PublishToUserRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $39.PublishToUserResult.fromBuffer(value));
|
||||
static final _$list = $grpc.ClientMethod<$39.ListNotificationRequest, $39.ListNotificationResult>(
|
||||
'/api.NotificationService/List',
|
||||
($42.ListNotificationRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $42.ListNotificationResult.fromBuffer(value));
|
||||
($39.ListNotificationRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $39.ListNotificationResult.fromBuffer(value));
|
||||
|
||||
NotificationServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$42.PublishToUserResult> publishToUser($42.PublishToUserRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$39.PublishToUserResult> publishToUser($39.PublishToUserRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$publishToUser, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$42.ListNotificationResult> list($42.ListNotificationRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$39.ListNotificationResult> list($39.ListNotificationRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$list, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -46,30 +46,30 @@ abstract class NotificationServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.NotificationService';
|
||||
|
||||
NotificationServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$42.PublishToUserRequest, $42.PublishToUserResult>(
|
||||
$addMethod($grpc.ServiceMethod<$39.PublishToUserRequest, $39.PublishToUserResult>(
|
||||
'PublishToUser',
|
||||
publishToUser_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $42.PublishToUserRequest.fromBuffer(value),
|
||||
($42.PublishToUserResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$42.ListNotificationRequest, $42.ListNotificationResult>(
|
||||
($core.List<$core.int> value) => $39.PublishToUserRequest.fromBuffer(value),
|
||||
($39.PublishToUserResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$39.ListNotificationRequest, $39.ListNotificationResult>(
|
||||
'List',
|
||||
list_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $42.ListNotificationRequest.fromBuffer(value),
|
||||
($42.ListNotificationResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $39.ListNotificationRequest.fromBuffer(value),
|
||||
($39.ListNotificationResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$42.PublishToUserResult> publishToUser_Pre($grpc.ServiceCall $call, $async.Future<$42.PublishToUserRequest> $request) async {
|
||||
$async.Future<$39.PublishToUserResult> publishToUser_Pre($grpc.ServiceCall $call, $async.Future<$39.PublishToUserRequest> $request) async {
|
||||
return publishToUser($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$42.ListNotificationResult> list_Pre($grpc.ServiceCall $call, $async.Future<$42.ListNotificationRequest> $request) async {
|
||||
$async.Future<$39.ListNotificationResult> list_Pre($grpc.ServiceCall $call, $async.Future<$39.ListNotificationRequest> $request) async {
|
||||
return list($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$42.PublishToUserResult> publishToUser($grpc.ServiceCall call, $42.PublishToUserRequest request);
|
||||
$async.Future<$42.ListNotificationResult> list($grpc.ServiceCall call, $42.ListNotificationRequest request);
|
||||
$async.Future<$39.PublishToUserResult> publishToUser($grpc.ServiceCall call, $39.PublishToUserRequest request);
|
||||
$async.Future<$39.ListNotificationResult> list($grpc.ServiceCall call, $39.ListNotificationRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user