argumentAsBool method

bool? argumentAsBool(
  1. int index, [
  2. bool? def
])

Implementation

bool? argumentAsBool(int index, [bool? def]) =>
    argument<bool>(index, def, TypeParser.parseBool);