EndpointBaseUrlResolver class final

Resolves a logical endpoint's base URL from declared runner configuration. A feature never receives a host URL; deployments choose it through a named environment variable such as CALCULATOR_TEST_API_URL.

Constructors

EndpointBaseUrlResolver()
Creates an endpoint URL resolver.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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
resolve(Map<Object?, Object?> endpoint, {Map<String, String>? environment}) Uri
Resolves the configured absolute HTTP(S) base URL.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited