ceil method Null safety

int ceil()
override

Returns the least integer which is not smaller than this number.

Rounds the number towards infinity.

Throws an UnsupportedError if this number is not finite (NaN or an infinity), .

Implementation

int ceil();