sum method

String sum([
  1. String? alias
])

Implementation

String sum([String? alias]) {
  return 'SUM($fieldName) AS ${(alias ?? fieldName!)}';
}