ValidationRule<T> constructor

ValidationRule<T>(
  1. String? _message
)

Creates a new instance of ValidationRule.

  • _message: A custom validation message provided by the user (optional).

Implementation

ValidationRule(this._message);