isTrue<T> static method
Creates an IsTrue validation rule.
This rule checks if a boolean value is true. support bool, String, and num types. It can include a custom validation message.
Implementation
static ValidationRule<T> isTrue<T>({String? message}) =>
IsTrue<T>(message: message);