pause method

void pause()

temporary prevent the app from locking if use leave and come back to the app

Implementation

void pause() {
  SecureApplicationNative.lock();
  if (!value.paused) {
    value = value.copyWith(paused: true);
    notifyListeners();
  }
}