toInt method

int toInt()

Truncates this and returns the integer part.

Implementation

int toInt() => value.toInt();