registerForEvents static method
Implementation
static void registerForEvents(VoidCallback lock, VoidCallback unlock) {
_channel.setMethodCallHandler(
(call) => secureApplicationHandler(call, lock, unlock));
}
static void registerForEvents(VoidCallback lock, VoidCallback unlock) {
_channel.setMethodCallHandler(
(call) => secureApplicationHandler(call, lock, unlock));
}