ValidateOptions0<TOptions> class
Implementation of ValidateOptions<TOptions>
- Implemented types
-
- ValidateOptions<
TOptions>
- ValidateOptions<
Constructors
-
ValidateOptions0.new(String name, ValidationCallback0<
TOptions> ? validation, String failureMessage) -
const
Properties
- failureMessage → String
-
The error to return when validation fails.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The options name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validation
→ ValidationCallback0<
TOptions> ? -
The validation function.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
String name, TOptions options) → ValidateOptionsResult -
Validates a specific named options instance (or all when
name
is null).override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited