CustomValidation constructor

CustomValidation(
  1. CustomValidator customValidator, {
  2. String? message,
  3. String? messageFn()?,
})

Implementation

CustomValidation(
  this.customValidator, {
  String? message,
  String? Function()? messageFn,
}) : customMessage = message,
     customMessageFn = messageFn;