BaseServiceBase constructor

BaseServiceBase()

Implementation

BaseServiceBase() {
  $addMethod($grpc.ServiceMethod<$18.MoveStraightRequest, $18.MoveStraightResponse>(
      'MoveStraight',
      moveStraight_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.MoveStraightRequest.fromBuffer(value),
      ($18.MoveStraightResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$18.SpinRequest, $18.SpinResponse>(
      'Spin',
      spin_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.SpinRequest.fromBuffer(value),
      ($18.SpinResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$18.SetPowerRequest, $18.SetPowerResponse>(
      'SetPower',
      setPower_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.SetPowerRequest.fromBuffer(value),
      ($18.SetPowerResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$18.SetVelocityRequest, $18.SetVelocityResponse>(
      'SetVelocity',
      setVelocity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.SetVelocityRequest.fromBuffer(value),
      ($18.SetVelocityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$18.StopRequest, $18.StopResponse>(
      'Stop',
      stop_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.StopRequest.fromBuffer(value),
      ($18.StopResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$18.IsMovingRequest, $18.IsMovingResponse>(
      'IsMoving',
      isMoving_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.IsMovingRequest.fromBuffer(value),
      ($18.IsMovingResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>(
      'DoCommand',
      doCommand_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value),
      ($15.DoCommandResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>(
      'GetGeometries',
      getGeometries_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value),
      ($15.GetGeometriesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$18.GetPropertiesRequest, $18.GetPropertiesResponse>(
      'GetProperties',
      getProperties_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $18.GetPropertiesRequest.fromBuffer(value),
      ($18.GetPropertiesResponse value) => value.writeToBuffer()));
}