ValidateOptions5<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> class
- Implemented types
-
- ValidateOptions<
TOptions>
- ValidateOptions<
Constructors
-
ValidateOptions5(String name, ValidationCallback5<
TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> ? validation, String failureMessage, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5) -
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
- dependency5 → TDep5
-
The fifth 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
→ ValidationCallback5<
TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> ? -
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