QueryServiceBase constructor

QueryServiceBase()

Implementation

QueryServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$0.QueryParamsRequest, $0.QueryParamsResponse>(
          'Params',
          params_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.QueryParamsRequest.fromBuffer(value),
          ($0.QueryParamsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryInflationRequest,
          $0.QueryInflationResponse>(
      'Inflation',
      inflation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryInflationRequest.fromBuffer(value),
      ($0.QueryInflationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.QueryAnnualProvisionsRequest,
          $0.QueryAnnualProvisionsResponse>(
      'AnnualProvisions',
      annualProvisions_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.QueryAnnualProvisionsRequest.fromBuffer(value),
      ($0.QueryAnnualProvisionsResponse value) => value.writeToBuffer()));
}