isMoving method
override
Get if the Motor is currently moving.
// Check whether the motor is moving.
var moving = await myMotor.isMoving();
For more information, see Motor component.
Implementation
@override
Future<bool> isMoving({Map<String, dynamic>? extra}) async {
final request = IsMovingRequest()..name = name;
final result = await client.isMoving(request);
return result.isMoving;
}