isValid method

  1. @override
bool isValid(
  1. I? value
)
override

Validation function

Implementation

@override
bool isValid(I? value) => value! < max;