UserTaskSnapshot.fromUserTask constructor
UserTaskSnapshot.fromUserTask(
- UserTask userTask
Implementation
UserTaskSnapshot.fromUserTask(UserTask userTask) : super() {
id = userTask.id;
task = userTask.task;
state = userTask.state;
enqueued = userTask.enqueued;
triggerTime = userTask.triggerTime;
doneTime = userTask.doneTime;
hasNotificationBeenCreated = userTask.hasNotificationBeenCreated;
studyDeploymentId = userTask.studyDeploymentId;
deviceRoleName =
userTask.appTaskExecutor.deployment?.deviceConfiguration.roleName;
}