stop method

Future<void> stop()

Implementation

Future<void> stop() async {
  await _subscription?.cancel();
  await transport.close();
}