FormValidator.boolean constructor

FormValidator.boolean({
  1. String? message,
})

Validate a value is a boolean message The message to display if the value is invalid

Implementation

FormValidator.boolean({this.message}) {
  rules = "boolean";
}