RestartRef class

Constructors

RestartRef({String? app, String? env})
Returns a new RestartRef instance.

Properties

app ↔ String?
App is the service's CR name, from the path. It must be a DNS-1123 label.
getter/setter pair
env ↔ String?
Env is REQUIRED and must be main, test or dev. A bare call does not default to production, which is what closes the fat-finger and confused-deputy hazard. It carries no validate:\"required\": the handler already refuses an empty env with the sentence that names the three values, and a validator tag would replace that sentence with a generic one. The requirement is stated here and enforced there, once.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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) → RestartRef?
Returns a new RestartRef instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RestartRef>
mapFromJson(dynamic json) → Map<String, RestartRef>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RestartRef>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.