canOpen method
Implementation
@override
Future<bool> canOpen({required bool autoStart, required bool batterySafer}) async {
if (!Platform.isAndroid) {
return false;
}
return await methodChannel.invokeMethod<bool>('canOpen', {'autoStart': autoStart, 'batterySafer': batterySafer}) ?? false;
}