Environment class
A website environment
- Annotations
-
- @freezed
Constructors
- Environment({required int id, required DateTime createdAt, required int websiteId, required int engineId, required int endpointId, required int stackId, required String websiteUrl, @JsonKey(ignore: true) @Default(EnvironmentStatus.stopped) EnvironmentStatus status})
-
constfactory
- Environment.fromDatabaseRow(PostgreSQLResultRow row)
-
factory
-
Environment.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $EnvironmentCopyWith<
Environment> -
no setterinherited
- createdAt → DateTime
-
Environment creation date
no setterinherited
- endpointId → int
-
Environment endpoint ID
no setterinherited
- engineId → int
-
Environment engine ID
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Environment ID
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackId → int
-
Environment stack ID
no setterinherited
- status → EnvironmentStatus
-
Environment status
no setterinherited
- websiteId → int
-
Environment website ID
no setterinherited
- websiteUrl → String
-
Website URL for this environment
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