getByConversationId static method
Returns posts filtered by conversation id.
sync getAll call (should not be used in context with async create)
Implementation
static List<PlatformPost> getByConversationId(String id) {
return IsarDB.isar.platformPosts
.where()
.conversationIdEqualTo(id)
.findAllSync();
}