toInt method

int toInt()

to int

Implementation

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