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