toInt method

int toInt()

to int

Implementation

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