MastodonStatus constructor
const
MastodonStatus({ - required String id,
- required DateTime createdAt,
- required bool sensitive,
- required String spoilerText,
- required MastodonVisibility visibility,
- required String content,
- required int reblogsCount,
- required int favouritesCount,
- required int repliesCount,
- required MastodonAccount account,
- required List<MastodonMediaAttachment> mediaAttachments,
- required List<MastodonMention> mentions,
- required List<MastodonTag> tags,
- required List<MastodonCustomEmoji> emojis,
- String? uri,
- String? url,
- String? inReplyToId,
- String? inReplyToAccountId,
- String? language,
- String? text,
- DateTime? editedAt,
- bool? favourited,
- bool? reblogged,
- bool? bookmarked,
- bool? muted,
- bool? pinned,
- MastodonStatus? reblog,
- MastodonPoll? poll,
- MastodonStatus? quote,
})
Implementation
const MastodonStatus({
required this.id,
required this.createdAt,
required this.sensitive,
required this.spoilerText,
required this.visibility,
required this.content,
required this.reblogsCount,
required this.favouritesCount,
required this.repliesCount,
required this.account,
required this.mediaAttachments,
required this.mentions,
required this.tags,
required this.emojis,
this.uri,
this.url,
this.inReplyToId,
this.inReplyToAccountId,
this.language,
this.text,
this.editedAt,
this.favourited,
this.reblogged,
this.bookmarked,
this.muted,
this.pinned,
this.reblog,
this.poll,
this.quote,
});