ValidateOptions4<TOptions, TDep1, TDep2, TDep3, TDep4> class
- Implemented types
-
- ValidateOptions<
TOptions>
- ValidateOptions<
Constructors
-
ValidateOptions4(String name, ValidationCallback4<
TOptions, TDep1, TDep2, TDep3, TDep4> ? validation, String failureMessage, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4) -
const
Properties
- dependency1 → TDep1
-
The first dependency.
final
- dependency2 → TDep2
-
The second dependency.
final
- dependency3 → TDep3
-
The third dependency.
final
- dependency4 → TDep4
-
The fourth dependency.
final
- 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
→ ValidationCallback4<
TOptions, TDep1, TDep2, TDep3, TDep4> ? -
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