ceilMultipleOf method

int ceilMultipleOf(
  1. int divisor
)

Implementation

int ceilMultipleOf(int divisor) =>
    (divisor * (this / divisor + ((this % divisor == 0) ? 0 : 1))).truncate();