argumentAsInt method

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

Implementation

int? argumentAsInt(int index, [int? def]) =>
    argument<int>(index, def, TypeParser.parseInt);