getHasUsbDebugging method
Checks if USB debugging is enabled (Android only).
Returns true if USB debugging is enabled in developer options. Returns false if USB debugging is disabled.
Implementation
@override
Future<bool> getHasUsbDebugging() async {
return await methodChannel.invokeMethod<bool?>('getHasUsbDebugging') ??
false;
}