PagesEnvVar class

Constructors

PagesEnvVar({String? type, String? value})
Returns a new PagesEnvVar instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
Type is "plain_text" or "secret_text" and decides that: plain text is readable afterwards, secret text is write-only. Empty is Cloudflare's default, plain_text — so a secret with no type set is stored in the clear.
getter/setter pair
value ↔ String?
Value is the variable's value. Under type "secret_text" Cloudflare encrypts it on arrival and never reads it back, so a later read of the project shows the variable without this.
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) → PagesEnvVar?
Returns a new PagesEnvVar instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<PagesEnvVar>
mapFromJson(dynamic json) → Map<String, PagesEnvVar>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<PagesEnvVar>>

Constants

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