SchemaValue<V> class
abstract
- Implementers
Constructors
-
SchemaValue({required bool isOptional, required List<
Validator< validators})V> > -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOptional → bool
-
final
- isRequired → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validators
→ List<
Validator< V> > -
final
Methods
-
copyWith(
{bool? isOptional}) → SchemaValue< V> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optional(
) → SchemaValue< V> -
required(
) → SchemaValue< V> -
toString(
) → String -
A string representation of this object.
inherited
-
tryParse(
Object value) → V? -
validate(
List< String> path, Object? value) → SchemaValidationResult -
validateOrThrow(
String key, Object value) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited