current property

EthWalletData current

Implementation

EthWalletData get current {
  final list = allAccounts;
  if (list.length > 0) {
    final i = list.indexWhere((e) => e.address == store.currentAddress);
    return i >= 0 ? list[i] : list[0];
  }
  return EthWalletData();
}