SchemaValue<V> class
abstract
- Implementers
- Available extensions
Constructors
-
SchemaValue({required bool optional, required List<
Validator< validators})V> > -
const
Properties
Methods
-
copyWith(
{bool? optional, List< Validator< ? validators}) → SchemaValue<V> >V> -
isEmail(
) → SchemaValue< String> -
Available on SchemaValue<
String> , provided by the StringSchemaExt extension -
isEmpty(
) → SchemaValue< String> -
Available on SchemaValue<
String> , provided by the StringSchemaExt extension -
isHexColor(
) → SchemaValue< String> -
Available on SchemaValue<
String> , provided by the StringSchemaExt extension -
isOptional(
) → SchemaValue< V> -
isPosixPath(
) → SchemaValue< String> -
Available on SchemaValue<
String> , provided by the StringSchemaExt extension -
isRequired(
) → SchemaValue< V> -
maxLength(
int max) → SchemaValue< String> -
Available on SchemaValue<
String> , provided by the StringSchemaExt extension -
minLength(
int min) → SchemaValue< String> -
Available on SchemaValue<
String> , provided by the StringSchemaExt extension -
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) → V? -
validate(
List< String> path, Object? value) → SchemaValidationResult -
validateOrThrow(
Object value) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited