ScheduledStatusParams class

Annotations
  • @freezed

Constructors

ScheduledStatusParams({required String text, String? spoilerText, ScheduledPoll? poll, List<String>? mediaIds, @JsonKey(name: 'in_reply_to_id') String? inReplyToStatusId, Language? language, Visibility? visibility, String? idempotency, @JsonKey(name: 'sensitive') bool? isSensitive})
const
factory
ScheduledStatusParams.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $ScheduledStatusParamsCopyWith<ScheduledStatusParams>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
idempotency String?
Idempotency key to prevent duplicate statuses.
no setterinherited
inReplyToStatusId String?
ID of the Status that will be replied to.
no setterinherited
isSensitive bool?
Whether the status will be marked as sensitive.
no setterinherited
language Language?
The language that will be used for the status.
no setterinherited
mediaIds List<String>?
IDs of the MediaAttachments that will be attached to the status.
no setterinherited
poll ScheduledPoll?
Poll to be attached to the status.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spoilerText String?
The text of the content warning or summary for the status.
no setterinherited
text String
Text to be used as status content.
no setterinherited
visibility Visibility?
The visibility that the status will have once it is posted.
no setterinherited

Methods

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

Operators

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