boolean: true, false, 1, 0, '1' or '0'.
boolean
true
false
1
0
'1'
'0'
static Rule boolean() => const BooleanRule();