AssignmentModel class
Constructors
-
AssignmentModel({required String documentID, required String appId, required String reporterId, String? assigneeId, TaskModel? task, WorkflowModel? workflow, int? workflowTaskSeqNumber, DateTime? timestamp, AssignmentStatus? status, List<
AssignmentResultModel> ? resultsCurrent, List<AssignmentResultModel> ? resultsPrevious, String? triggeredById, WorkflowNotificationModel? confirmMessage, WorkflowNotificationModel? rejectMessage})
Properties
- appId ↔ String
-
getter/setter pairoverride
- assigneeId ↔ String?
-
getter/setter pair
- confirmMessage ↔ WorkflowNotificationModel?
-
getter/setter pair
- documentID ↔ String
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- rejectMessage ↔ WorkflowNotificationModel?
-
getter/setter pair
- reporterId ↔ String
-
getter/setter pair
-
resultsCurrent
↔ List<
AssignmentResultModel> ? -
getter/setter pair
-
resultsPrevious
↔ List<
AssignmentResultModel> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ AssignmentStatus?
-
getter/setter pair
- task ↔ TaskModel?
-
getter/setter pair
- timestamp ↔ DateTime?
-
getter/setter pair
- triggeredById ↔ String?
-
getter/setter pair
- workflow ↔ WorkflowModel?
-
getter/setter pair
- workflowTaskSeqNumber ↔ int?
-
getter/setter pair
Methods
-
collectReferences(
{String? appId}) → Future< List< ModelReference> > -
override
-
copyWith(
{String? documentID, String? appId, String? reporterId, String? assigneeId, TaskModel? task, WorkflowModel? workflow, int? workflowTaskSeqNumber, DateTime? timestamp, AssignmentStatus? status, List< AssignmentResultModel> ? resultsCurrent, List<AssignmentResultModel> ? resultsPrevious, String? triggeredById, WorkflowNotificationModel? confirmMessage, WorkflowNotificationModel? rejectMessage}) → AssignmentModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
{String? appId}) → AssignmentEntity -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromEntity(
String documentID, AssignmentEntity? entity) → Future< AssignmentModel?> -
fromEntityPlus(
String documentID, AssignmentEntity? entity, {String? appId}) → Future< AssignmentModel?>
Constants
- id → const String
- packageName → const String