ReportReason class
A reason for reporting a comment.
Each report reason has an ID (used for server communication) and a label (displayed to the user).
Example:
const reason = ReportReason('spam', 'Spam or misleading content');
Constructors
- ReportReason(String id, String label)
-
Creates a new ReportReason.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited