stop method

  1. @override
Future<void> stop()
override

Stops the engine.

Returns a Future that completes when the engine has stopped. Throws an error if the engine fails to stop.

Implementation

@override
Future<void> stop() async => _stopCallback?.call();