round method

int round()

Rounds to the nearest integer value.

Implementation

int round() => _roundToInteger().toInt();