remove method

Future<void> remove({
  1. bool spam = false,
})

Remove a Comment or Submission.

Set spam to true to help train the subreddit's spam filter.

Implementation

Future<void> remove({bool spam = false}) async => content.reddit.post(
    apiPath['remove'],
    <String, String>{'id': content.fullname!, 'spam': spam.toString()},
    discardResponse: true);