UserTaskFactory class abstract
Creates a UserTask for an AppTask, based on AppTask.type.
Packages that add app task types (e.g., surveys) implement one and register it with AppTaskController.registerUserTaskFactory.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
types
↔ List<
String> -
The AppTask.types this factory supports.
getter/setter pair
Methods
-
create(
AppTaskExecutor< AppTask> executor) → UserTask -
Create a UserTask that wraps
executor. -
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