FormValidator.boolean constructor
FormValidator.boolean({
- 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";
}