getEnvironmentByKey method
- K env
Directly fetch configuration for env.
Missing keys fall back to the default; returns null if both are absent.
Strict instances throw instead of falling back.
Implementation
Future<C>? getEnvironmentByKey(K env) => _service.configFor(env);