MastodonStatusCreateRequest class

Parameters for a status creation request.

Constructors

MastodonStatusCreateRequest({String? status, List<String>? mediaIds, String? inReplyToId, MastodonVisibility visibility = MastodonVisibility.public, bool sensitive = false, String? spoilerText, MastodonPollCreateRequest? poll, String? quotedStatusId, String? quoteApprovalPolicy, String? language, String? scheduledAt})
Creates parameters for a status creation request.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inReplyToId String?
ID of the status being replied to.
final
language String?
Posting language code (ISO 639-1 format).
final
mediaIds List<String>?
List of attached media IDs.
final
poll MastodonPollCreateRequest?
Poll parameters.
final
quoteApprovalPolicy String?
Quote approval policy (standard Mastodon FEP-044f).
final
quotedStatusId String?
ID of the status being quoted (standard Mastodon FEP-044f).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt String?
Scheduled publication timestamp (ISO 8601 format).
final
sensitive bool
Whether to mark as sensitive content.
final
spoilerText String?
Content warning (CW) text.
final
status String?
Body text of the status.
final
visibility MastodonVisibility
Visibility of the status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns 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