MigrateWalletChecks class

Holds the results of checking if a wallet migration is possible.

Constructors

MigrateWalletChecks({WalletBalance? fromBalance, required IdtyStatus fromIdtyStatus, required IdtyStatus toIdtyStatus, required Set<MigrateWalletValidationError> errors, OwnerKeyBondInfo? ownerKeyBondInfo})
const
MigrateWalletChecks.defaultValues()
A default state representing an un-checked or invalid state.
const

Properties

canMigrate → bool
Returns true if there are no validation errors.
no setter
errors → Set<MigrateWalletValidationError>
A set of validation errors. If empty, the migration is considered possible.
final
fromBalance → WalletBalance?
The balance of the source wallet. Null if the source address was empty.
final
fromIdtyStatus → IdtyStatus
The identity status of the source wallet.
final
hashCode → int
The hash code for this object.
no setterinherited
ownerKeyBondInfo → OwnerKeyBondInfo?
Information about owner key bond period if applicable
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toIdtyStatus → IdtyStatus
The identity status of the target wallet.
final

Methods

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

Operators

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