OptionsFactory<TOptions> class

Used to create TOptions instances.

Constructors

OptionsFactory(OptionsImplementationFactory<TOptions> factory, {Iterable<ConfigureOptions<TOptions>>? setups, Iterable<PostConfigureOptions<TOptions>>? postConfigureOptions, Iterable<ValidateOptions<TOptions>>? validations})
Initializes a new instance with the specified options configurations.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(String name) → TOptions
Returns a configured TOptions instance with the given name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited