getChatModal static method
Implementation
static Future<ChatListModal?> getChatModal(
{
required DocumentReference documentReference,
}
)async{
var snapshot = await documentReference.get();
if(snapshot.exists){
var us = ChatListModal.fromJson(snapshot);
return us;
}else{
}
return null;
}