MastodonStatusContext class

Context of a status (ancestors and descendants).

Corresponds to the response from GET /api/v1/statuses/{id}/context.

Annotations

Constructors

MastodonStatusContext({required List<MastodonStatus> ancestors, required List<MastodonStatus> descendants})
const
MastodonStatusContext.fromJson(Map<String, dynamic> json)
factory

Properties

ancestors List<MastodonStatus>
Statuses preceding the target status (thread ancestors).
final
descendants List<MastodonStatus>
Reply tree of the target status (descendants).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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