SafeEntity class

Annotations

Constructors

SafeEntity({required int number, required String name, required String fingerprint, required Uint8List iv, required String cipherText, String? defaultAddress, String? rootAddress, String? imagePath, String mnemonicLanguage = 'en', bool biometricEnabled = false, DateTime? biometricEnabledAt, int safeTypeIndex = 0, String? legacySalt, String? legacyPassword})

Properties

biometricEnabled ↔ bool
getter/setter pair
biometricEnabledAt ↔ DateTime?
getter/setter pair
cipherText ↔ String
getter/setter pair
createdAt ↔ DateTime
getter/setter pair
defaultAddress ↔ String?
getter/setter pair
fingerprint ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int
getter/setter pair
imagePath ↔ String?
getter/setter pair
iv ↔ Uint8List
getter/setter pair
legacyPassword ↔ String?
getter/setter pair
legacySalt ↔ String?
getter/setter pair
mnemonicLanguage ↔ String
getter/setter pair
name ↔ String
getter/setter pair
number ↔ int
getter/setter pair
rootAddress ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeType ↔ SafeType
getter/setter pair
safeTypeIndex ↔ int
getter/setter pair
wallets → ToMany<WalletEntity>
final

Methods

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

Operators

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

Static Methods

generateFingerprint(String mnemonic) → String
Generate a unique fingerprint from a mnemonic phrase This creates a SHA-256 hash that uniquely identifies a mnemonic without exposing it
generateLegacyFingerprint(String salt, String password) → String
Generate a unique fingerprint for legacy wallets from salt and password