ChainedKeyResolver class

Tries each underlying resolver in order, returns the first non-empty hit. Used by the CLI to layer direct flags → .env file → env vars.

Inheritance

Constructors

ChainedKeyResolver(List<KeyResolver> resolvers)

Properties

hashCode → int
The hash code for this object.
no setterinherited
resolvers → List<KeyResolver>
final
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
require(String brokerId) → Future<String>
Same as resolve but throws MissingKeyException when the key is missing or empty. Useful at the call site of broker.complete(...) where empty-string would just yield an opaque HTTP 401.
inherited
resolve(String brokerId) → Future<String?>
override
toString() → String
A string representation of this object.
inherited

Operators

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