OpenApiV31BooleanSchema class final
A schema that accepts every instance or none.
- Inheritance
-
- Object
- OpenApiV31Schema
- OpenApiV31BooleanSchema
Constructors
- OpenApiV31BooleanSchema({required bool value, String dialect = OpenApiV31Schema.oasDialect})
-
Uses value as the validation result for every instance.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → bool -
Returns the schema as a JSON boolean or object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited