hasPermission method
Implementation
Future<BluetoothCentralState> hasPermission() async {
final response = await _methodChannel.invokeMethod<int>('hasPermission');
return response == null
? BluetoothCentralState.unknown
: BluetoothCentralState.values[response];
}