registerUserTaskFactory method
Register a UserTaskFactory which can create UserTasks for the specified AppTask types.
Implementation
void registerUserTaskFactory(UserTaskFactory factory) {
for (var type in factory.types) {
_userTaskFactories[type] = factory;
}
}