operator [] method

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

Implementation

@override
operator [](key) {
  switch (key?.toString()) {
    case "parseStart":
      return this.parseStart;
    case "parseEnd":
      return this.parseEnd;
    case "relativeDate":
      return this.relativeDate;
    case "isDateInferred":
      return this.isDateInferred;
    case "isTimeInferred":
      return this.isTimeInferred;
    case "isRecurring":
      return this.isRecurring;
    case "recursUntil":
      return this.recursUntil;
    case "dates":
      return this.dates;
    default:
      return wrapped[key];
  }
}