isValid method

  1. @override
bool isValid(
  1. String input
)
override

return a bool Either valid or NOT

Implementation

@override
bool isValid(String input) => caseSensitive
    ? match(input, other)
    : match(input.toLowerCase(), other.toLowerCase());