getChatId static method
Implementation
static String getChatId({
required final String myId,
required final String friendId,
}) {
final _result = myId.compareTo(friendId);
if (_result > 0) {
return '${myId}_$friendId';
} else {
return '${friendId}_$myId';
}
}