resetAtsigns method
Resets atsigns
list from device storage.
Implementation
Future<void> resetAtsigns(List<String> atsigns) async {
for (String atsign in atsigns) {
await _keyChainManager.resetAtSignFromKeychain(atsign);
// Hint: Since, the OnboardingService is a singleton instance. Setting
// atSign to null to enable setting new atSign during subsequent
// onboard process.
OnboardingService.getInstance().setAtsign = null;
atClientServiceMap!.remove(atsign);
monitorConnectionMap!.remove(atsign);
}
currentAtsign = null;
lastOnboardedAtsign = null;
atSignsList = [];
}