report method

Future<void> report(
  1. String reason
)

Report this object to the moderators of its Subreddit.

reason is the reason for the report.

Implementation

Future<void> report(String reason) async => reddit.post(
    apiPath['report'], {'id': fullname, 'reason': reason, 'api_type': 'json'},
    discardResponse: true);