toInt method - num class - dart:core library (original) (raw)

description

toInt abstract method

int toInt()

Truncates this num to an integer and returns the result as an int.

Equivalent to truncate.

Implementation

int toInt();