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