operator [] method

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

Implementation

@override
operator [](key) {
  switch (key?.toString()) {
    case "creator":
      return this.creator;
    case "dateCreated":
      return this.dateCreated;
    case "assistedTask":
      return this.assistedTask;
    case "isActive":
      return this.isActive;
    case "contactKey":
      return this.contactKey;
    case "family":
      return this.family;
    case "associatedPhases":
      return this.associatedPhases;
    case "connectionType":
      return this.connectionType;
    case "connectionLabel":
      return this.connectionLabel;
    case "connectionNotes":
      return this.connectionNotes;
    case "meetDate":
      return this.meetDate;
    default:
      return wrapped[key];
  }
}