getContactCache method

  1. @override
List<ContactInfo> getContactCache()
override

返回缓存的联系人列表,限好友

Implementation

@override
List<ContactInfo> getContactCache() {
  return contactMap.values
      .where((e) => e != null && e.friend != null)
      .map((value) => value!)
      .toList();
}