operator []= method

  1. @override
void operator []=(
  1. String key,
  2. dynamic value
)
override

Implementation

@override
operator []=(String key, value) {
  switch(key) {
    case "accountId": this.accountId = value as String; break;
    case "eventId": this.eventId = value as String; break;
    case "entityType": this.entityType = value as MSchemaRef; break;
    case "recordKey": this.recordKey = value as RecordKey; break;
    case "dateUpdated": this.dateUpdated = value as DateTime; break;
    case "oldStatus": this.oldStatus = value as IThreadStatus; break;
    case "newStatus": this.newStatus = value as IThreadStatus; break;
    default: wrapped[key] = value;
  }
}