hide method
Hide the submission.
If provided, otherSubmissions
is a list of other submissions to be
hidden.
Implementation
Future<void> hide({List<Submission>? otherSubmissions}) async {
for (final submissions in _chunk(otherSubmissions, 50)) {
await reddit.post(apiPath['hide'], {'id': submissions},
discardResponse: true);
}
}