EditSite constructor
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const
EditSite(
{ - String? name,
- String? description,
- String? icon,
- String? banner,
- bool? enableDownvotes,
- bool? openRegistration,
- bool? enableNsfw,
- bool? requireEmailVerification,
- bool? requireApplication,
- String? applicationQuestion,
- bool? privateInstance,
- required String auth,
- String? defaultTheme,
})
Implementation
@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory EditSite({
String? name,
String? sidebar,
String? description,
String? icon,
String? banner,
bool? enableDownvotes,
bool? openRegistration,
bool? enableNsfw,
bool? communityCreationAdminOnly,
bool? requireEmailVerification,
bool? requireApplication,
String? applicationQuestion,
bool? privateInstance,
required String auth,
String? defaultTheme,
}) = _EditSite;