FormValidator.custom constructor

FormValidator.custom(
  1. bool customRule(
    1. dynamic data
    )?, {
  2. String? message,
})

Create a new custom validation rule

Implementation

FormValidator.custom(this.customRule, {this.message});