closeAllTransports method
Implementation
Future<void> closeAllTransports() async {
try {
await Future.wait(transports.keys.map((url) => closeTransport(url)));
} catch (e) {
print(e);
}
}
Future<void> closeAllTransports() async {
try {
await Future.wait(transports.keys.map((url) => closeTransport(url)));
} catch (e) {
print(e);
}
}