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 "possessions":
this.possessions = value as List<MKey>;
break;
case "organizations":
this.organizations = value as List<MKey>;
break;
case "pets":
this.pets = value as List<MKey>;
break;
case "traditions":
this.traditions = value as List<MKey>;
break;
case "traits":
this.traits = value as List<MKey>;
break;
case "memoryDate":
this.memoryDate = value as FlexiDate;
break;
case "memory":
this.memory = 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;
}
}