UserContentModerationMixin mixin

Provides moderation methods for Comments and Submissions.

Mixin Applications

Properties

content RedditBaseInitializedMixin
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

approve() Future<void>
Approve a Comment or Submission.
distinguish({required DistinctionType how, bool sticky = false}) Future<void>
Distinguish a Comment or Submission.
ignoreReports() Future<void>
Ignore Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({bool spam = false}) Future<void>
Remove a Comment or Submission.
toString() String
A string representation of this object.
inherited
undistinguish() Future<void>
Remove distinguishing on a Comment or Submission.
unignoreReports() Future<void>
Resume receiving Future

Operators

operator ==(Object other) bool
The equality operator.
inherited