dispose method
override
Resets the device and closes the port.
Implementation
@override
Future<void> dispose() async {
if (!await _reset()) logger.warning("The $device device on port $port did not reset");
await _serial.dispose();
}
Resets the device and closes the port.
@override
Future<void> dispose() async {
if (!await _reset()) logger.warning("The $device device on port $port did not reset");
await _serial.dispose();
}