floor method Null safety
override
Returns the greatest integer no greater than this number.
Rounds the number towards negative infinity.
Throws an UnsupportedError if this number is not finite (NaN or infinity), .
Implementation
int floor();