getSource method

T getSource()

Returns the underlying source object from which property data is retrieved.

The underlying object that holds the raw property data.

For example:

  • A Map<String, Object> for in-memory key-value sources
  • A Properties object for Java-style property files
  • A file, YAML map, or even a shell environment variable map.

Subclasses are expected to access this during lookups.

Consumers rarely need this directly, but subclasses rely on it to implement getProperty and containsProperty. It may represent a map, structured configuration object, parsed YAML/JSON tree, or any custom property container.

Implementation

T getSource() => _source;