ceil method Null safety

int? ceil()

Returns the least integer no smaller than this.

If this is not finite (NaN or infinity), throws an UnsupportedError.

Implementation

int? ceil() => value?.ceil();