stream method
Returns a GenericStream over all PropertySources in this collection.
This method allows functional-style operations over the property sources.
It uses StreamSupport.stream internally to create the stream from
the iterable.
Example:
sources.stream()
.filter((s) => s.name.startsWith('system'))
.forEach((s) => print(s.name));
Implementation
GenericStream<PropertySource> stream() {
return StreamSupport.stream(this);
}