MastodonStatusSource class

Source information of a status.

GET /api/v1/statuses/:id/source

Holds plain text content of the status for use in the editing UI.

Annotations

Constructors

MastodonStatusSource({required String id, required String text, required String spoilerText})
const
MastodonStatusSource.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Internal ID of the status.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spoilerText String
Plain text of the content warning (CW).
final
text String
Plain text of the status body.
final

Methods

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

Operators

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