round method
Get a db field with this value rounded to digits
decimals.
Implementation
DoubleField round([int? digits]) {
var result = DoubleField();
result.queryBuilder =
() => 'ROUND(${buildQuery()}${digits == null ? ')' : ',$digits)'}';
result.parametersBuilder = () => getParameters();
return result;
}