BoolSchema class

Schema for boolean values

Implemented types

Constructors

BoolSchema({bool required = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
required bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getErrors(bool? value) List<String>
Get validation errors
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(bool? value) bool
Validate the event data
override

Operators

operator ==(Object other) bool
The equality operator.
inherited