ModBanFromCommunity constructor
const
ModBanFromCommunity({})
Implementation
const factory ModBanFromCommunity({
required int id,
@JsonKey(name: 'mod_person_id') int? modPersonId,
@JsonKey(name: 'other_person_id') int? otherPersonId,
@JsonKey(name: 'community_id') int? communityId,
String? reason,
required bool banned,
DateTime? expires,
@JsonKey(name: 'when_') required DateTime when,
}) = _ModBanFromCommunity;