MastodonStatus constructor

const MastodonStatus({
  1. required String id,
  2. required DateTime createdAt,
  3. required bool sensitive,
  4. required String spoilerText,
  5. required MastodonVisibility visibility,
  6. required String content,
  7. required int reblogsCount,
  8. required int favouritesCount,
  9. required int repliesCount,
  10. required MastodonAccount account,
  11. required List<MastodonMediaAttachment> mediaAttachments,
  12. required List<MastodonMention> mentions,
  13. required List<MastodonTag> tags,
  14. required List<MastodonCustomEmoji> emojis,
  15. String? uri,
  16. String? url,
  17. String? inReplyToId,
  18. String? inReplyToAccountId,
  19. String? language,
  20. String? text,
  21. DateTime? editedAt,
  22. bool? favourited,
  23. bool? reblogged,
  24. bool? bookmarked,
  25. bool? muted,
  26. bool? pinned,
  27. MastodonStatus? reblog,
  28. MastodonPoll? poll,
  29. 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,
});