operator [] method

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

Implementation

@override
operator [](key) {
  switch (key?.toString()) {
    case "path":
      return this.path;
    case "verb":
      return this.verb;
    case "label":
      return this.label;
    case "factRef":
      return this.factRef;
    case "isFlexible":
      return this.isFlexible;
    case "remindableInfo":
      return this.remindableInfo;
    case "agent":
      return this.agent;
    case "timeSensitivity":
      return this.timeSensitivity;
    case "followUpLabel":
      return this.followUpLabel;
    case "priority":
      return this.priority;
    case "isHistorical":
      return this.isHistorical;
    case "isFuture":
      return this.isFuture;
    case "isStart":
      return this.isStart;
    case "isEnd":
      return this.isEnd;
    case "isExpiration":
      return this.isExpiration;
    case "isTimestamp":
      return this.isTimestamp;
    case "hasTime":
      return this.hasTime;
    case "recurs":
      return this.recurs;
    case "dateTokens":
      return this.dateTokens;
    default:
      return wrapped[key];
  }
}