operator [] method

dynamic operator [](
  1. dynamic key
)
override

Implementation

operator [](key) {
  switch ("$key") {
    case "operation":
      return this.operation;
    case "path":
      return this.path;
    case "from":
      return this.from;
    default:
      return wrapped[key];
  }
}