outside method

bool outside(
  1. {required int max,
  2. required int min}
)

Implementation

bool outside({required int max, required int min}) =>
    this > max || this < min;