addPostListToList method Null safety
Add the content of a List to the List<Post>
Implementation
addPostListToList(List<Post> newPosts) {
for (int i = 0; i < newPosts.length; i++) {
if (_isAlreadyInList(newPosts[i]) == false)
subredditPostTilesList.add(newPosts[i]);
}
notifyListeners();
}