open method

Future<void> open()

Implementation

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