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 "contactKeys":
this.contactKeys = value as List<MKey>;
break;
case "milestoneDate":
this.milestoneDate = value as FlexiDate;
break;
case "milestone":
this.milestone = value as String;
break;
case "photos":
this.photos = value as List<IImageContent>;
break;
case "videos":
this.videos = value as List<IVideoContent>;
break;
case "location":
this.location = value as IPhysicalLocation;
break;
case "details":
this.details = value as String;
break;
default:
wrapped[key] = value;
}
}