isDivisibleBy method

bool isDivisibleBy(
  1. int divider
)

Implementation

bool isDivisibleBy(int divider) => this % divider == 0;