fromContactList static method
Implementation
static DbContactList fromContactList(ContactList contactList) {
DbContactList dbContactList = DbContactList(
pubKey: contactList.pubKey,
contacts: contactList.contacts,
);
dbContactList.createdAt = contactList.createdAt;
dbContactList.loadedTimestamp = contactList.loadedTimestamp;
dbContactList.sources = contactList.sources;
dbContactList.followedCommunities = contactList.followedCommunities;
dbContactList.followedTags = contactList.followedTags;
dbContactList.followedEvents = contactList.followedEvents;
dbContactList.contactRelays = contactList.contactRelays;
dbContactList.petnames = contactList.petnames;
return dbContactList;
}