Website class
ArkodWP website
- Annotations
-
- @freezed
Constructors
-
Website({required int id, required DateTime createdAt, @Default('my-website') String name, @Default('My website') String title, @Default('admin') String adminUsername, @Default('password') String adminPassword, @Default('admin@my-website.com') String adminEmail, @Default('/blog/%postname%/') String postsUrlStructure, @Default('password') String dbRootPassword, @Default('admin') String dbUser, @Default('password') String dbPassword, @Default('wp_') String dbTablesPrefix, @Default([]) List<
Environment> environments}) -
constfactory
- Website.fromDatabaseRow(PostgreSQLResultRow row)
-
factory
-
Website.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adminEmail → String
-
Website admin user's email address
no setterinherited
- adminPassword → String
-
Website admin user's password
no setterinherited
- adminUsername → String
-
Website admin user's username
no setterinherited
-
copyWith
→ $WebsiteCopyWith<
Website> -
no setterinherited
- createdAt → DateTime
-
Website creation date
no setterinherited
- dbPassword → String
-
Database user's password
no setterinherited
- dbRootPassword → String
-
Database root user's password
no setterinherited
- dbTablesPrefix → String
-
Prefix for WordPress tables in database
no setterinherited
- dbUser → String
-
Database user's username
no setterinherited
-
environments
→ List<
Environment> -
Website environments
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Website ID
no setterinherited
- name → String
-
Website unique name
no setterinherited
- postsUrlStructure → String
-
Website's posts URL structure
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Website title
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited