operator [] method
Implementation
@override
operator [](key) {
switch (key?.toString()) {
case "type":
return this.type;
case "displayType":
return this.displayType;
case "blocks":
return this.blocks;
case "title":
return this.title;
case "image":
return this.image;
case "actions":
return this.actions;
case "showLargeTitle":
return this.showLargeTitle;
default:
return wrapped[key];
}
}