BaseServerConfig class abstract
The base server configuration definition
- Inheritance
-
- Object
- BaseConfig
- BaseServerConfig
- Implementers
Constructors
-
BaseServerConfig([Map<
String, String> ? env])
Properties
- domainRoot → String
-
Gets the
ROOT_DOMAIN
from the current contextno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
augmentWith(
Map< String, String> env) → String -
Adds a set of values to the environment and returns the token for
removing the augments. Augments can be removed calling removeAugment
with the returned token.
inherited
-
getOr(
String name, {required String fallback}) → String -
Gets a value by
name
from the underlying config map, or thefallback
if the underlying map does not contain thename
.inherited -
getOrThrow(
String name) → String -
Gets a value by
name
from the underlying config map, or throws a MissingConfigError if the underlying map does not contain thename
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAugment(
String token) → Map< String, String> ? -
Returns the removed environment variable set associated to the
token
.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
tryGet(
String name) → String? -
Gets a value by
name
from the underlying config map, ornull
if the underlying map does not contain thename
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited