intValueParser function

int intValueParser(
  1. String s
)

A ValueParser that attempts to parse the string as an int. If you need a custom radix, use intValueParserWithRadix.

Implementation

int intValueParser(String s) => _parseInt(s);