toInt property

int get toInt

Converts the string to an integer.

Implementation

int get toInt => int.parse(this);