getProperty method

  1. @override
Object? getProperty(
  1. String name
)
override

Retrieves the value associated with the given name, or null if not present.

The resolution logic depends on the source type and subclass behavior.

Implementation

@override
Object? getProperty(String name) {
  for (PropertySource propertySource in _propertySources) {
    Object? candidate = propertySource.getProperty(name);
    if (candidate != null) {
      return candidate;
    }
  }
  return null;
}