unlock method

void unlock()

Use when you want your user to see content under SecureGate

Implementation

void unlock() {
  SecureApplicationNative
      .unlock(); //lock from native is removed when resumed but why not!
  if (value.locked) {
    value = value.copyWith(locked: false);
    notifyListeners();
    _lockEventsController.add(false);
  }
}