initializeScanning property
Initialize scanning API.
For Android, it will check whether Bluetooth is enabled, allowed to access location services and check whether location services is enabled.
For iOS, it will check whether Bluetooth is enabled, requestWhenInUse location services and check whether location services is enabled.
Implementation
Future<void> get initializeScanning async {
await _methodChannel.invokeMethod('initialize');
}