Future<void> addContact(Map acc) async { final ls = _storage.contacts.val.toList(); ls.add(acc); _storage.contacts.val = ls; if (acc['observation'] ?? false) { setCurrentPubKey(acc['pubKey']); } }