operator [] method

  1. @override
dynamic operator [](
  1. dynamic key
)
override

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "accountId": return this.accountId;
    case "eventId": return this.eventId;
    case "entityType": return this.entityType;
    case "recordKey": return this.recordKey;
    case "dateUpdated": return this.dateUpdated;
    case "oldStatus": return this.oldStatus;
    case "newStatus": return this.newStatus;
    default: return wrapped[key];
  }
}