EnvironmentRow class
Constructors
-
EnvironmentRow({String? id, String? name, List<
String> services = const [], String? status, String? type, String? updatedAt}) - Returns a new EnvironmentRow instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
ID is the environment's name, which is also its identity — an environment is derived from the apps that target it, so it has no id of its own.
getter/setter pair
- name ↔ String?
-
Name is the environment's name as an app declared it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
services
↔ List<
String> -
Services are the apps that target this environment, by name.
getter/setter pair
- status ↔ String?
-
Status rolls up the real states of this environment's apps: degraded, active, idle or empty.
getter/setter pair
- type ↔ String?
-
Type buckets the name for display: production, staging, development or custom.
getter/setter pair
- updatedAt ↔ String?
-
UpdatedAt is when any of them last changed, RFC3339 UTC; empty when unset.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → EnvironmentRow? -
Returns a new EnvironmentRow instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< EnvironmentRow> -
mapFromJson(
dynamic json) → Map< String, EnvironmentRow> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< EnvironmentRow> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.