EndsWith constructor

EndsWith(
  1. 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);