spoiler method

Future<void> spoiler()

Indicate that the submission contains spoilers.

Both the Submission author and users with moderation rights for this submission can set this flag.

Implementation

Future<void> spoiler() async => _content.reddit.post(
    apiPath['spoiler'],
    {
      'id': _content.fullname,
    },
    discardResponse: true);