MastodonAccount constructor

const MastodonAccount({
  1. required String id,
  2. required String username,
  3. required String acct,
  4. required String displayName,
  5. required String note,
  6. required String url,
  7. required String avatarUrl,
  8. required String avatarStaticUrl,
  9. required String headerUrl,
  10. required String headerStaticUrl,
  11. required bool locked,
  12. required bool bot,
  13. required int followersCount,
  14. required int followingCount,
  15. required int statusesCount,
  16. required List<MastodonField> fields,
  17. required List<MastodonCustomEmoji> emojis,
  18. bool? discoverable,
  19. bool? noindex,
  20. DateTime? createdAt,
  21. DateTime? lastStatusAt,
  22. MastodonAccount? moved,
  23. bool? suspended,
  24. bool? limited,
  25. bool? hideCollections,
  26. String? avatarBlurhash,
  27. String? headerBlurhash,
})

Implementation

const MastodonAccount({
  required this.id,
  required this.username,
  required this.acct,
  required this.displayName,
  required this.note,
  required this.url,
  required this.avatarUrl,
  required this.avatarStaticUrl,
  required this.headerUrl,
  required this.headerStaticUrl,
  required this.locked,
  required this.bot,
  required this.followersCount,
  required this.followingCount,
  required this.statusesCount,
  required this.fields,
  required this.emojis,
  this.discoverable,
  this.noindex,
  this.createdAt,
  this.lastStatusAt,
  this.moved,
  this.suspended,
  this.limited,
  this.hideCollections,
  this.avatarBlurhash,
  this.headerBlurhash,
});