registerForEvents static method

void registerForEvents(
  1. VoidCallback lock,
  2. VoidCallback unlock
)

Implementation

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