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 "isActive": return this.isActive;
case "contactKey": return this.contactKey;
case "company": return this.company;
case "position": return this.position;
case "workPhone": return this.workPhone;
case "startDate": return this.startDate;
case "endDate": return this.endDate;
default: return wrapped[key];
}
}