OrganizationSettings constructor
const
OrganizationSettings({})
Implementation
const factory OrganizationSettings({
/// Downvotes feature enabled
@JsonKey(name: 'downvotesEnabled', defaultValue: false)
@Default(false)
bool downvotesEnabled,
/// Default sorting order of posts
@JsonKey(name: 'defaultSortingOrder', required: true)
required String defaultSortingOrder,
/// Hide vote counts until voted
@JsonKey(name: 'hideVoteCountUntilVoted', defaultValue: false)
@Default(false)
bool hideVoteCountUntilVoted,
}) = _OrganizationSettings;