operator [] method

  1. @override
dynamic operator [](
  1. dynamic key
)
override

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "accountId": return this.accountId;
    case "eventId": return this.eventId;
    case "entityType": return this.entityType;
    case "recordKey": return this.recordKey;
    case "dateCreated": return this.dateCreated;
    case "threadId": return this.threadId;
    case "frameId": return this.frameId;
    case "nodeId": return this.nodeId;
    case "graphId": return this.graphId;
    case "taskTitle": return this.taskTitle;
    case "taskDescription": return this.taskDescription;
    case "contactId": return this.contactId;
    default: return wrapped[key];
  }
}