dispose method

Future<void> dispose()

Closes resources managed by this client, such as the optional background isolate for calculations and managed streams.

Implementation

Future<void> dispose() async {
  await _filters.dispose();
  await _streamRpcPeer?.close();
}