MastodonAdminAccount constructor

const MastodonAdminAccount({
  1. required String id,
  2. required String username,
  3. String? domain,
  4. DateTime? createdAt,
  5. String? email,
  6. String? ip,
  7. List<MastodonAdminIp> ips = const [],
  8. String? locale,
  9. String? inviteRequest,
  10. MastodonAdminRole? role,
  11. bool confirmed = false,
  12. bool approved = false,
  13. bool disabled = false,
  14. bool sensitized = false,
  15. bool silenced = false,
  16. bool suspended = false,
  17. MastodonAccount? account,
  18. String? createdByApplicationId,
  19. String? invitedByAccountId,
})

Implementation

const MastodonAdminAccount({
  required this.id,
  required this.username,
  this.domain,
  this.createdAt,
  this.email,
  this.ip,
  this.ips = const [],
  this.locale,
  this.inviteRequest,
  this.role,
  this.confirmed = false,
  this.approved = false,
  this.disabled = false,
  this.sensitized = false,
  this.silenced = false,
  this.suspended = false,
  this.account,
  this.createdByApplicationId,
  this.invitedByAccountId,
});