EndsWith constructor
EndsWith(
- String pattern
Creates an instance of the EndsWith validation rule.
Parameters:
pattern: The pattern that the value should end with.
Implementation
EndsWith(this.pattern) : super.withKey(key);