operator [] method
dynamic
operator [](
- dynamic key
)
override
Implementation
@override
operator [](key) {
switch (key?.toString()) {
case "creator":
return this.creator;
case "dateCreated":
return this.dateCreated;
case "assistedTask":
return this.assistedTask;
case "displayDate":
return this.displayDate;
case "dueDate":
return this.dueDate;
case "completionDate":
return this.completionDate;
case "taskTitle":
return this.taskTitle;
case "taskDescription":
return this.taskDescription;
case "timeSensitivity":
return this.timeSensitivity;
case "isCancelled":
return this.isCancelled;
case "dueConfig":
return this.dueConfig;
case "displayOffset":
return this.displayOffset;
case "isAlert":
return this.isAlert;
case "isSkippable":
return this.isSkippable;
case "state":
return this.state;
case "result":
return this.result;
case "operationRef":
return this.operationRef;
case "isUnread":
return this.isUnread;
case "isNotified":
return this.isNotified;
case "setup":
return this.setup;
default:
return wrapped[key];
}
}