getEnvironment method

Future<C>? getEnvironment(
  1. String raw
)

Resolve raw via the resolver and return its configuration.

Unknown input or missing keys fall back to the default configuration. Returns null only if both requested and default configurations are absent. Resolver and factory exceptions propagate.

Implementation

Future<C>? getEnvironment(String raw) => _service.configFromString(raw);