ModHideCommunity constructor

const ModHideCommunity({
  1. required int id,
  2. @JsonKey.new(name: 'community_id') int? communityId,
  3. @JsonKey.new(name: 'mod_person_id') int? modPersonId,
  4. String? reason,
  5. required bool hidden,
  6. @JsonKey.new(name: 'when_') required DateTime when,
})

Implementation

const factory ModHideCommunity({
  required int id,
  @JsonKey(name: 'community_id') int? communityId,
  @JsonKey(name: 'mod_person_id') int? modPersonId,
  String? reason,
  required bool hidden,
  @JsonKey(name: 'when_') required DateTime when,
}) = _ModHideCommunity;