NullSchema class
Used to remove value from SchemaMap
- Inheritance
-
- Object
- SchemaValue<
Null> - NullSchema
Constructors
-
NullSchema({bool optional = false, List<
Validator< validators = const []})Null> > -
const
Properties
Methods
-
copyWith(
{bool? optional, List< Validator< ? validators}) → NullSchemaNull> > -
override
-
isOptional(
) → SchemaValue< Null> -
inherited
-
isRequired(
) → SchemaValue< Null> -
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) → Null -
override
-
validate(
List< String> path, Object? value) → SchemaValidationResult -
inherited
-
validateOrThrow(
Object value) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited