toInt property

Converter<int> get toInt

Parses an int from a string.

Implementation

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