kill method

Future? kill(
  1. [Duration timeout = const Duration(seconds: 1)]
)

Implementation

Future? kill([Duration timeout = const Duration(seconds: 1)]) async {
  final runner = await _runner;
  _shutdownFuture = Future.value(platform.killRunner(runner));
  return _shutdownFuture;
}