stop method

  1. @override
Future<void> stop({
  1. Map<String, dynamic>? extra,
})
override

Stop all motion of the Gantry. It is assumed the Gantry stops immediately.

await myGantry.stop();

For more information, see Gantry component.

Implementation

@override
Future<void> stop({Map<String, dynamic>? extra}) async {
  final request = StopRequest()
    ..name = name
    ..extra = extra?.toStruct() ?? Struct();
  await client.stop(request);
}