roundToInt method

Expression<int?> roundToInt()

Rounds this expression to the nearest integer.

Implementation

Expression<int?> roundToInt() {
  return FunctionCallExpression('round', [this]).cast<int>();
}