stop method

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

Stop the base.

await myBase.stop();

For more information, see Base component.

Implementation

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