toInt method

int toInt()

Parses your string and returns an integer.

Implementation

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