isPairingInProgress method

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

Implementation

@override
Future<bool> isPairingInProgress() async {
  final result =
      await methodChannel.invokeMethod<bool>('isPairingInProgress');
  if (result == null) {
    throw StateError(
        "isPairingInProgress() returned null, which should not happen.");
  }
  return result;
}