Directory? propertyAsDirectory(String key, [Directory? def]) => property<Directory>(key, def, TypeParserIO.parseDirectory);