open method
Implementation
Future<void> open() async {
try {
if (!opened) {
await _open().toDart;
}
} catch (e) {
throw Exception('Failed to open device: $e');
}
}
Future<void> open() async {
try {
if (!opened) {
await _open().toDart;
}
} catch (e) {
throw Exception('Failed to open device: $e');
}
}