isUsbCableAttached method

  1. @override
Future<bool> isUsbCableAttached()
override

Check if USB cable is attached

Implementation

@override
Future<bool> isUsbCableAttached() async {
  // Web browsers don't have direct access to USB connection status
  // This is a limitation of web security model
  return await _isWebUsbCableAttached();
}