requestPermission method
Implementation
Future<BluetoothPeripheralState> requestPermission() async {
if (!Platform.isAndroid) return BluetoothPeripheralState.unknown;
final response =
await _methodChannel.invokeMethod<int>('requestPermission');
return response == null
? BluetoothPeripheralState.unknown
: BluetoothPeripheralState.values[response];
}