dispose method

  1. @override
Future<void> dispose()

Implementation

@override
Future<void> dispose() async {
  await _jsPublisher.destroy();

  super.dispose();
}