operator []= method

  1. @override
void operator []=(
  1. String key,
  2. 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 "group":
      this.group = value as List<MKey>;
      break;
    case "traditionDate":
      this.traditionDate = value as FlexiDate;
      break;
    case "traditionType":
      this.traditionType = value as String;
      break;
    case "traditionTitle":
      this.traditionTitle = value as String;
      break;
    case "description":
      this.description = value as String;
      break;
    case "location":
      this.location = value as IPhysicalLocation;
      break;
    case "emotes":
      this.emotes = value as List<String>;
      break;
    default:
      wrapped[key] = value;
  }
}