MastodonAdminReport constructor

const MastodonAdminReport({
  1. required String id,
  2. required bool actionTaken,
  3. DateTime? actionTakenAt,
  4. required String category,
  5. required String comment,
  6. required bool forwarded,
  7. DateTime? createdAt,
  8. DateTime? updatedAt,
  9. MastodonAdminAccount? account,
  10. MastodonAdminAccount? targetAccount,
  11. MastodonAdminAccount? assignedAccount,
  12. MastodonAdminAccount? actionTakenByAccount,
  13. List<MastodonStatus> statuses = const [],
  14. List<MastodonInstanceRule> rules = const [],
})

Implementation

const MastodonAdminReport({
  required this.id,
  required this.actionTaken,
  this.actionTakenAt,
  required this.category,
  required this.comment,
  required this.forwarded,
  this.createdAt,
  this.updatedAt,
  this.account,
  this.targetAccount,
  this.assignedAccount,
  this.actionTakenByAccount,
  this.statuses = const [],
  this.rules = const [],
});