ValidationRule<T> constructor
ValidationRule<T> (
- String? _message
Creates a new instance of ValidationRule.
_message
: A custom validation message provided by the user (optional).
Implementation
ValidationRule(this._message);