searchByPhone method
- UserPhone phone
Searches ChatContacts by the provided UserPhone.
This is an exact match search.
Implementation
Future<RxChatContact?> searchByPhone(UserPhone phone) async {
Log.debug('searchByPhone($phone)', '$runtimeType');
return (await _search(phone: phone)).edges.firstOrNull;
}