disconnect method
Implementation
Future<void> disconnect() async {
if (_connection != null) {
_connection!.dispose();
_connection = null;
}
}
Future<void> disconnect() async {
if (_connection != null) {
_connection!.dispose();
_connection = null;
}
}