EditSite class
- Implemented types
- Annotations
-
- @freezed
Constructors
- 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})
-
constfactory
-
EditSite.fromJson(Map<
String, dynamic> json) -
factory
Properties
- applicationQuestion → String?
-
no setterinherited
- auth → String
-
no setterinherited
-
no setterinherited
- communityCreationAdminOnly → bool?
-
no setterinherited
-
copyWith
→ $EditSiteCopyWith<
EditSite> -
no setterinherited
- defaultTheme → String?
-
no setterinherited
- description → String?
-
no setterinherited
- enableDownvotes → bool?
-
no setterinherited
- enableNsfw → bool?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpMethod → HttpMethod
-
final
- icon → String?
-
no setterinherited
- name → String?
-
no setterinherited
- openRegistration → bool?
-
no setterinherited
- path → String
-
final
- privateInstance → bool?
-
no setterinherited
- requireApplication → bool?
-
no setterinherited
- requireEmailVerification → bool?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
responseFactory(
Map< String, dynamic> json) → SiteView -
override
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited