IntIsInRangeExtension extension

Extension on int to support isInRange

on

Methods

isInRange(int min, int max, {bool inclusive = true}) bool

Available on int, provided by the IntIsInRangeExtension extension

Checks if the int value is within the specified range.