OperationModeFactory<T extends OperationMode> class abstract

Factory for OperationModes.

Implemented types
Mixed-in types
Implementers

Constructors

OperationModeFactory()
Factory for OperationModes.
const

Properties

deriveFuture Type
no setterinherited
deriveFutureOr Type
no setterinherited
deriveIterable Type
no setterinherited
deriveList Type
no setterinherited
deriveSet Type
no setterinherited
deriveStream Type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isNullable bool
no setterinherited
nullable TypeCapture
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeArgument Type
no setterinherited

Methods

castIterable(Iterable<T> iterable) Iterable<T>
inherited
castList(List list) List<T>
inherited
castSet(Set set) Set<T>
inherited
consumeType<RETURN>(RETURN func<_>()) → RETURN
inherited
consumeTypeArg<RETURN, ARG>(RETURN func<_>(ARG), ARG arg) → RETURN
inherited
forConverter(DogConverter converter, DogEngine engine) → T?
Creates a new instance of T for the given converter and engine. See OperationModeCacheEntry.forConverter for details.
insert(OperationModeFactory<T> insertion, ModeFactoryInsertionSlot slot) OperationModeFactory<T>
Composes this factory with another insertion factory, placing insertion in the specified slot.
isAssignable(dynamic object) bool
inherited
Links this instance to the given engine.
override
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

Static Methods

compose<T extends OperationMode>(List<OperationModeFactory<OperationMode>> factories) OperationModeFactory<T>
A OperationModeFactory that composes multiple other factories.
converterSingleton<TARGET extends DogConverter, T extends OperationMode>(T mode) OperationModeFactory<T>
A OperationModeFactory that returns a single OperationMode for a DogConverter of schema.
typeSingleton<TARGET, T extends OperationMode>(T mode) OperationModeFactory<T>
A OperationModeFactory that returns a singleton OperationMode for a specific type.