optionAsDirectory method

Directory? optionAsDirectory(
  1. String key, [
  2. Directory? def
])

Implementation

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