valueToInt property

int? valueToInt

Return the parsed value to int of the current state.

if the value is an int returns the parsed value, else returns null.

Implementation

int? get valueToInt => state.valueToInt;