GSDConfigWebLegacySource class

Liest die AES-verschlüsselten Blöcke des bisherigen Web-Managers aus dem localStorage unter key und <key>_secure. Einzige Stelle im ConfigStore, die den EncryptionManager noch braucht.

Implemented types

Constructors

GSDConfigWebLegacySource({String key = 'config', GSDLocalStorageManager? storage, EncryptionManager? encryption})

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String
final
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
readPublic() → Future<String?>
Öffentlicher JSON-Block, null wenn nichts gespeichert ist. Ein Lesefehler muss werfen; der Store verschiebt die Migration dann wie bei readSecure.
override
readSecure() → Future<String?>
Entschlüsselter Secret-Block, null wenn nichts gespeichert ist. Muss bei einem Lesefehler werfen, damit die Migration nicht mit verlorenen Secrets als erledigt markiert wird.
override
toString() → String
A string representation of this object.
inherited

Operators

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