requestBLEPermissions method

  1. @override
Future<String?> requestBLEPermissions()
override

The function requestBLEPermissions in Dart is used to request BLE permissions and returns a Future that resolves to a String. @returns The method is returning a Future object that resolves to a String or null.

Implementation

@override
Future<String?> requestBLEPermissions() async {
  final returnVal =
      await methodChannel.invokeMethod<String>('requestBLEPermissions');
  return returnVal;
}