ModBanView constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const ModBanView({
  1. required ModBan modBan,
  2. required PersonSafe moderator,
  3. required PersonSafe bannedPerson,
  4. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModBanView({
  required ModBan modBan,
  required PersonSafe moderator,
  required PersonSafe bannedPerson,
  required String instanceHost,
}) = _ModBanView;