stop method

Future<void> stop()

Tear down the transport.

Implementation

Future<void> stop() async {
  final boot = _boot;
  _boot = null;
  if (boot != null) await boot.shutdown();
}