getOrDefault<T> abstract method

T getOrDefault<T>(
  1. String key,
  2. T defaultValue
)

Gets a configuration value with a default fallback

key The configuration key defaultValue The default value if key is not found Returns the configuration value or default

Implementation

T getOrDefault<T>(String key, T defaultValue);