approve method

Future<void> approve()

Approve a Comment or Submission.

Approving a comment or submission reverts removal, resets the report counter, adds a green check mark which is visible to other moderators on the site, and sets the approvedBy property to the authenticated user.

Implementation

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