withinConfigKey method
ConstantReader#read
does not return null
, so we must safely navigate it
Implementation
@protected
ConstantReader? withinConfigKey(String property) {
if (reader.peek(configKey) == null) return null;
final nestedConstant = reader.read(configKey).read(property);
if (nestedConstant.isNull) return null;
return nestedConstant;
}