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