isMoving method

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

Whether the Gantry is currently moving.

var moving = await myGantry.isMoving();

For more information, see Gantry component.

Implementation

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