getProperty method

String? getProperty(
  1. String key
)

Retrieves the string value for the given key.

Returns null if the property does not exist.

Example:

final level = LogProperties.instance.getProperty("logging.level.core");
print(level); // e.g. "debug"

Implementation

String? getProperty(String key) => _props[key];