getConversation method
Get conversation by ID.
Implementation
Future<Conversation?> getConversation(String conversationId) async {
_ensureInitialized();
if (conversationId.trim().isEmpty) {
return null;
}
final conversation = await _database.getConversation(conversationId);
return conversation != null ? _stampCurrentUser(conversation) : null;
}