TaskModel class abstract

Constructors

TaskModel({required String identifier, required String description, required bool executeInstantly})

Properties

description String
getter/setter pair
executeInstantly bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
identifier String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callExecute(AppModel app, BuildContext context, String? memberId, AssignmentModel? assignmentModel, bool isNewAssignment, {FinaliseWorkflow? finaliseWorkflow}) → void
collectReferences({String? appId}) Future<List<ModelReference>>
finishTask(AppModel app, BuildContext context, AssignmentModel assignmentModel, ExecutionResults executionResult, String? feedback) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startTask(AppModel app, BuildContext context, String? memberId, AssignmentModel? assignmentModel) Future<void>
toEntity({String? appId}) TaskEntity
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromEntity(TaskEntity? entity) TaskModel?
fromEntityPlus(TaskEntity? entity, {String? appId}) Future<TaskModel?>