APIServerVariable class Null safety
An object representing a Server Variable for server URL template substitution.
Constructors
-
APIServerVariable(String? defaultValue, {List<
String> ? availableValues, String? description}) - APIServerVariable.empty()
Properties
-
availableValues
↔ List<
String> ? -
An enumeration of string values to be used if the substitution options are from a limited set.
read / write
-
castMap
→ Map<
String, Cast> ? -
read-onlyinherited
- defaultValue ↔ String?
-
The default value to use for substitution, and to send, if an alternate value is not supplied.
read / write
- description ↔ String?
-
An optional description for the server variable.
read / write
-
extensions
↔ Map<
String, dynamic> -
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- referenceURI ↔ Uri?
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
decode(
KeyedArchive object) → void -
override
-
encode(
KeyedArchive object) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited