SecureSwiftPersisted<T> class

Secure persisted state with encryption This is a simplified version that doesn't extend SwiftPersisted For production use, integrate with flutter_secure_storage

Constructors

SecureSwiftPersisted(T initialValue, String storageKey, StorageBackend storage, {required EncryptionProvider encryption, String? encryptionKey, int version = 1})

Properties

encryption EncryptionProvider
final
encryptionKey String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage StorageBackend
final
storageKey String
final
value ↔ T
getter/setter pair
version int
final

Methods

load() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save() Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited