ModBanFromCommunityView constructor
- @JsonSerializable(fieldRename: FieldRename.snake)
const
ModBanFromCommunityView(
{
- required PersonSafe moderator,
- required PersonSafe bannedPerson,
- required String instanceHost,
})
Implementation
@JsonSerializable(fieldRename: FieldRename.snake)
const factory ModBanFromCommunityView({
required ModBanFromCommunity modBanFromCommunity,
required PersonSafe moderator,
required CommunitySafe community,
required PersonSafe bannedPerson,
required String instanceHost,
}) = _ModBanFromCommunityView;