secure method
void
secure()
App will be secured and content will not be visible if user switch app
on Android this will also prevent scrensshot/screen recording
Implementation
void secure() {
SecureApplicationNative.secure();
if (!value.secured) {
value = value.copyWith(secured: true);
notifyListeners();
}
}