operator []= method
void
operator []=(
- String key,
- dynamic value
)
override
Implementation
@override
operator []=(String key, value) {
switch(key) {
case "creator": this.creator = value as IReliveItContact; break;
case "dateCreated": this.dateCreated = value as DateTime; break;
case "assistedTask": this.assistedTask = value as ITaskFactForMModel; break;
case "isActive": this.isActive = value as bool; break;
case "contactKey": this.contactKey = value as MKey; break;
case "company": this.company = value as IEmployer; break;
case "position": this.position = value as String; break;
case "workPhone": this.workPhone = value as IPhoneWithExtension; break;
case "startDate": this.startDate = value as FlexiDate; break;
case "endDate": this.endDate = value as FlexiDate; break;
default: wrapped[key] = value;
}
}