MastodonReportCreateRequest class

Request for creating a report.

Constructors

MastodonReportCreateRequest({required String accountId, List<String>? statusIds, String? comment, bool? forward, String? category, List<String>? ruleIds})
Creates a MastodonReportCreateRequest.
const

Properties

accountId String
ID of the account being reported.
final
category String?
Report category (spam / legal / violation / other).
final
comment String?
Reason for the report (maximum 1000 characters).
final
forward bool?
Whether to forward to the remote administrator.
final
hashCode int
The hash code for this object.
no setterinherited
ruleIds List<String>?
Violated rule IDs for the violation category.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusIds List<String>?
Status IDs to attach as context.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to a JSON map for the request body.
toString() String
A string representation of this object.
inherited

Operators

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