stop method
override
Stop the motor immediately, without any gradual step down.
// Stop the motor.
await myMotor.stop();
For more information, see Motor component.
Implementation
@override
Future<void> stop({Map<String, dynamic>? extra}) async {
final request = StopRequest()
..name = name
..extra = extra?.toStruct() ?? Struct();
await client.stop(request);
}