setBindingProperty method
void
setBindingProperty(
- String key,
- dynamic value
)
override
Implementation
@override
void setBindingProperty(String key, value) {
switch (key) {
case 'src': src = castToType<String>(value); break;
case 'async': async = castToType<bool>(value); break;
case 'defer': defer = castToType<bool>(value); break;
case 'type': type = castToType<String>(value); break;
case 'charset': charset = castToType<String>(value); break;
case 'text': text = castToType<String>(value); break;
default: super.setBindingProperty(key, value);
}
}