double? propertyAsDouble(String key, [double? def]) => property<double>(key, def, TypeParser.parseDouble);