call method
- String input
override
Implementation
@override
bool call(String input) {
// Per JSON Schema spec §6.3.3, patterns are not implicitly anchored —
// the pattern only needs to match somewhere within the string.
return pattern.hasMatch(input);
}