operator [] method
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 "sport": return this.sport;
case "isInactive": return this.isInactive;
case "coach": return this.coach;
default: return wrapped[key];
}
}