BooleanSchema class

Inheritance

Constructors

BooleanSchema({bool optional = false, List<Validator<bool>> validators = const []})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
optional → bool
finalinherited
required → bool
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validators → List<Validator<bool>>
finalinherited

Methods

copyWith({bool? optional, List<Validator<bool>>? validators}) → BooleanSchema
override
isOptional() → SchemaValue<bool>
inherited
isRequired() → SchemaValue<bool>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
tryParse(Object? value) → bool?
override
validate(List<String> path, Object? value) → SchemaValidationResult
inherited
validateOrThrow(Object value) → void
inherited

Operators

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