toInt property

Converter<bool> get toInt

Parses an int from a string.

Implementation

static Converter<int> get toInt => (s) => int.parse(s);