isMoving method

  1. @override
Future<bool> isMoving()
override

Whether the base is currently moving

bool baseIsMoving = await myBase.isMoving();

For more information, see Base component.

Implementation

@override
Future<bool> isMoving() async {
  final request = IsMovingRequest()..name = name;
  final response = await client.isMoving(request);
  return response.isMoving;
}