operator []= method
void
operator []=(
- String key,
- dynamic value
)
override
Implementation
@override
operator []=(String key, value) {
switch (key) {
case "type":
this.type = value as String;
break;
case "displayType":
this.displayType = value as IPushDisplayType;
break;
case "blocks":
this.blocks = value as List<IContent>;
break;
case "title":
this.title = value as String;
break;
case "image":
this.image = value as IIconInfo;
break;
case "actions":
this.actions = value as List<IButtonContent>;
break;
case "showLargeTitle":
this.showLargeTitle = value as bool;
break;
default:
wrapped[key] = value;
}
}