dispose method

  1. @mustCallSuper
Future dispose()

Implementation

@mustCallSuper
Future dispose() async {
  await controller.close();
  await _subscription.cancel();
  await disconnect();
}