resetAtsigns method

Future<void> resetAtsigns(
  1. List<String> atsigns
)

Resets atsigns list from device storage.

Implementation

Future<void> resetAtsigns(List<String> atsigns) async {
  for (String atsign in atsigns) {
    await _keyChainManager.resetAtSignFromKeychain(atsign);
    atClientServiceMap!.remove(atsign);
    monitorConnectionMap!.remove(atsign);
  }
  this.currentAtsign = null;
  this.lastOnboardedAtsign = null;
  this.atSignsList;
}