round method

FunctionExpression round([
  1. Object? decimalPlaces
])

This number rounded to decimalPlaces (to a whole number without it).

Implementation

FunctionExpression round([Object? decimalPlaces]) =>
    _function('round', <Object?>[?decimalPlaces]);