isContactArchived method

bool? isContactArchived(
  1. String topicName
)

Check if contact is archived, i.e. contact.private.arch == true.

Implementation

bool? isContactArchived(String topicName) {
  var cont = _contacts[topicName];
  return cont != null ? ((cont.private && cont.private.arch) ? true : false) : null;
}