getPropertySources method
Returns a snapshot list of all PropertySource instances contained within this composite.
The returned list reflects the current ordering of the composite, where earlier entries have higher lookup precedence.
Important:
Modifying the returned list does not affect the internal composite. This method provides read-only external visibility without exposing the mutable internal state.
Useful for:
- diagnostics / logging
- property source enumeration
- unit testing and verification
Implementation
List<PropertySource> getPropertySources() => _propertySources.toList();