onDisconnect method
Callback on disconnect.
Is to be overridden in sub-classes and implement device-specific disconnection.
Implementation
@override
Future<bool> onDisconnect() async => await manager?.disconnect() ?? false;
Callback on disconnect.
Is to be overridden in sub-classes and implement device-specific disconnection.
@override
Future<bool> onDisconnect() async => await manager?.disconnect() ?? false;