operator [] method

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

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "seek": return this.seek;
    case "seekUnit": return this.seekUnit;
    case "amount": return this.amount;
    case "timeUnit": return this.timeUnit;
    case "eventName": return this.eventName;
    case "relativeDate": return this.relativeDate;
    default: return wrapped[key];
  }
}