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 "isActive":
      this.isActive = value as bool;
      break;
    case "contactKey":
      this.contactKey = value as MKey;
      break;
    case "family":
      this.family = value as IFamily;
      break;
    case "associatedPhases":
      this.associatedPhases = value as List<MKey>;
      break;
    case "connectionType":
      this.connectionType = value as String;
      break;
    case "connectionLabel":
      this.connectionLabel = value as String;
      break;
    case "connectionNotes":
      this.connectionNotes = value as String;
      break;
    case "meetDate":
      this.meetDate = value as FlexiDate;
      break;
    default:
      wrapped[key] = value;
  }
}