StorageFileInitOptions class
Constructors
- StorageFileInitOptions({int authenticationValidityDurationSeconds = -1, bool authenticationRequired = true, bool androidBiometricOnly = true, bool darwinBiometricOnly = true})
Properties
- androidBiometricOnly → bool
- 
  Only makes difference on Android, where if set true, you can't use
PIN/pattern/password to get the file.
On Android < 30 this will always be ignored. (always true) https://github.com/authpass/biometric_storage/issues/12#issuecomment-900358154final
- authenticationRequired → bool
- 
  Whether an authentication is required. if this is
false NO BIOMETRIC CHECK WILL BE PERFORMED! and the value
will simply be save encrypted. (default: true)
  final
- authenticationValidityDurationSeconds → int
- 
  
  final
- darwinBiometricOnly → bool
- 
  Only for iOS and macOS:
Uses .biometryCurrentSetif true,.userPresenceotherwise. https://developer.apple.com/documentation/security/secaccesscontrolcreateflags/1392879-userpresencefinal
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited