addChecked method

Uint32 addChecked(
  1. Uint32 other
)

Implementation

Uint32 addChecked(Uint32 other) {
  final r = this + other;
  if (r < this) throw IntegerError.overflow;
  return r;
}