dispose method
Disposes all transports.
Should be called on application shutdown.
Implementation
Future<void> dispose() async {
for (final transport in _transports) {
await transport.dispose();
}
}
Disposes all transports.
Should be called on application shutdown.
Future<void> dispose() async {
for (final transport in _transports) {
await transport.dispose();
}
}