dispose method
override
Closes the connection to the device.
Implementation
@override
Future<void> dispose() async {
stopAll();
await _commands?.cancel();
await _data?.cancel();
await parent.dispose();
}
Closes the connection to the device.
@override
Future<void> dispose() async {
stopAll();
await _commands?.cancel();
await _data?.cancel();
await parent.dispose();
}