TaskLoader class

A helper class to register TaskProviders in the application to be used by the Hooks instance.

Constructors

TaskLoader({required Ref<Object?> ref, required ConfigLoader configLoader})
Default constructor

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerConfigurableTask<TState extends TaskBase, TArg>(ConfigurableTaskProviderFamily<TState, TArg> providerFamily, {bool enabledByDefault = true}) → void
Registers a configurable task provider.
registerTask<TState extends TaskBase>(TaskProvider<TState> provider, {bool enabledByDefault = true}) → void
Registers a simple, unconfigurable task provider.
toString() String
A string representation of this object.
inherited

Operators

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