hasExternalDevices method

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

Check if external devices are available (iOS only)

Implementation

@override
Future<bool> hasExternalDevices() async {
  try {
    final result =
        await methodChannel.invokeMethod<bool>('hasExternalDevices');
    return result ?? false;
  } catch (e) {
    // Query operations can fail silently and return false
    debugPrint('hasExternalDevices error: $e');
    return false;
  }
}