getPropertyNames abstract method

List<String> getPropertyNames()

Returns the full list of property names known to this PropertySource.

Subclasses must implement this method to return all available keys.

Example:

final propertyNames = mySource.getPropertyNames();
print(propertyNames); // ['host', 'port', 'username']

This is used internally by containsProperty and other introspection features.

Implementation

List<String> getPropertyNames();