toInt method Null safety

int toInt()

Truncates the double value and returns the int

Implementation

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