optionAsString method

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

Implementation

String? optionAsString(String key, [String? def]) =>
    option<String>(key, def, TypeParser.parseString);