operator [] method

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

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "name": return this.name;
    case "logo": return this.logo;
    case "phases": return this.phases;
    case "parent": return this.parent;
    case "shortName": return this.shortName;
    case "mascot": return this.mascot;
    case "address": return this.address;
    default: return wrapped[key];
  }
}