sumInt method

int sumInt({
  1. bool truncate = true,
})

Implementation

int sumInt({bool truncate = true}) =>
    truncate ? sum().toInt() : sum().round();