isValid method

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

value: the input string returns: true if the input string is a full match for regexSource

Implementation

@override
bool isValid(String value) => _regex.hasMatch(value.trim());