valueOr method

dynamic valueOr (dynamic defaultValue)

Returns value, or defaultValue if this parameter wasn't passed.

Implementation

valueOr(defaultValue) => value;