QueryServiceBase constructor

QueryServiceBase()

Implementation

QueryServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.QueryAllowanceRequest,
          $0.QueryAllowanceResponse>(
      'Allowance',
      allowance_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryAllowanceRequest.fromBuffer(value),
      ($0.QueryAllowanceResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryAllowancesRequest,
          $0.QueryAllowancesResponse>(
      'Allowances',
      allowances_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryAllowancesRequest.fromBuffer(value),
      ($0.QueryAllowancesResponse value) => value.writeToBuffer()));
}