ValidateOptions1<TOptions, TDep> class

Implemented types

Constructors

ValidateOptions1(String name, ValidationCallback1<TOptions, TDep>? validation, String failureMessage, TDep dependency)
const

Properties

dependency → TDep
The 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 ValidationCallback1<TOptions, TDep>?
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