WalletEvent enum

The events that can be subscribed to on the daemon.

Inheritance
Implemented types

Constructors

WalletEvent(String jsonKey)
Creates a new WalletEvent instance.
const
WalletEvent.fromStr(String value)
Factory to convert a String to a WalletEvent.
factory

Values

newTopoHeight → const WalletEvent

When a a get_info request is made and we receive a different topoheight than previous one

const WalletEvent('new_topo_height')
newAsset → const WalletEvent

When a new asset is added to wallet Contains a Hash as value

const WalletEvent('new_asset')
newTransaction → const WalletEvent

When a new transaction is added to wallet Contains TransactionEntry struct as value

const WalletEvent('new_transaction')
balanceChanged → const WalletEvent

When a balance is changed Contains a BalanceChanged as value

const WalletEvent('balance_changed')
rescan → const WalletEvent

When a rescan happened on the wallet. Contains a topoheight as value to indicate until which topoheight transactions got deleted.

const WalletEvent('rescan')
online → const WalletEvent

When network state changed to Online.

const WalletEvent('online')
offline → const WalletEvent

When network state changed to Offline.

const WalletEvent('offline')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
jsonKey String
The json value of the method.
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<WalletEvent>
A constant List of the values in this enum, in order of their declaration.