valueAt method

T valueAt(
  1. Folder dir
)

Return the calculated value of this option, given the directory as context.

If isFile or isDir is set, the returned value will be transformed into a canonical path relative to the current working directory (for arguments) or the config file from which the value was derived.

May throw DartdocOptionError if a command line argument is of the wrong type. If mustExist is true, will throw DartdocFileMissing for command line parameters and file paths in config files that don't point to corresponding files or directories.

Implementation

T valueAt(Folder dir);