MastodonScheduledStatus class

Scheduled status model.

Annotations

Constructors

MastodonScheduledStatus({required String id, DateTime? scheduledAt, MastodonScheduledStatusParams? params, List<MastodonMediaAttachment> mediaAttachments = const []})
Creates a MastodonScheduledStatus with the given fields.
const
MastodonScheduledStatus.fromJson(Map<String, dynamic> json)
Creates a MastodonScheduledStatus from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Database ID of the scheduled status.
final
mediaAttachments List<MastodonMediaAttachment>
Media to be attached to the status.
final
params MastodonScheduledStatusParams?
Parameters specified when scheduling the status.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt DateTime?
Timestamp when the status is scheduled to be published.
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