getPosts method Null safety
- {String? subreddit,
- PostSort sortBy = PostSort.hot,
- PostSortSince since = PostSortSince.none,
- String? after,
- int limit = 100}
Implementation
Future<List<Post>> getPosts({
String? subreddit,
PostSort sortBy = PostSort.hot,
PostSortSince since = PostSortSince.none,
String? after,
int limit = 100
});