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 'view.pb.dart' as $56;
|
||||
import 'view.pb.dart' as $66;
|
||||
|
||||
export 'view.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.ViewService')
|
||||
class ViewServiceClient extends $grpc.Client {
|
||||
static final _$getViewFields = $grpc.ClientMethod<$56.GetViewFieldsRequest, $56.GetViewFieldsResult>(
|
||||
static final _$getViewFields = $grpc.ClientMethod<$66.GetViewFieldsRequest, $66.GetViewFieldsResult>(
|
||||
'/api.ViewService/GetViewFields',
|
||||
($56.GetViewFieldsRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $56.GetViewFieldsResult.fromBuffer(value));
|
||||
($66.GetViewFieldsRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $66.GetViewFieldsResult.fromBuffer(value));
|
||||
|
||||
ViewServiceClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
ViewServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$56.GetViewFieldsResult> getViewFields($56.GetViewFieldsRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$66.GetViewFieldsResult> getViewFields($66.GetViewFieldsRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getViewFields, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -42,18 +38,18 @@ abstract class ViewServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.ViewService';
|
||||
|
||||
ViewServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$56.GetViewFieldsRequest, $56.GetViewFieldsResult>(
|
||||
$addMethod($grpc.ServiceMethod<$66.GetViewFieldsRequest, $66.GetViewFieldsResult>(
|
||||
'GetViewFields',
|
||||
getViewFields_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $56.GetViewFieldsRequest.fromBuffer(value),
|
||||
($56.GetViewFieldsResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $66.GetViewFieldsRequest.fromBuffer(value),
|
||||
($66.GetViewFieldsResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$56.GetViewFieldsResult> getViewFields_Pre($grpc.ServiceCall $call, $async.Future<$56.GetViewFieldsRequest> $request) async {
|
||||
$async.Future<$66.GetViewFieldsResult> getViewFields_Pre($grpc.ServiceCall $call, $async.Future<$66.GetViewFieldsRequest> $request) async {
|
||||
return getViewFields($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$56.GetViewFieldsResult> getViewFields($grpc.ServiceCall call, $56.GetViewFieldsRequest request);
|
||||
$async.Future<$66.GetViewFieldsResult> getViewFields($grpc.ServiceCall call, $66.GetViewFieldsRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user