onStop method

  1. @protected
Future<void> onStop()

Tear down the transport this host owns. Only called when ownsTransport.

Throws UnimplementedError unless overridden.

Implementation

@protected
Future<void> onStop() async => throw _missingHook('onStop');