startScan method
Start scanning for beacons
Implementation
@override
Future<bool> startScan() async {
try {
final bool? result = await methodChannel.invokeMethod<bool>('startScan');
return result ?? false;
} on PlatformException catch (e) {
debugPrint("Error starting scan: ${e.message}");
return false;
}
}