setBindingProperty method
void
setBindingProperty(
- String key,
- dynamic value
)
override
Implementation
@override
void setBindingProperty(String key, value) {
switch (key) {
case 'href': href = castToType<String>(value); break;
case 'target': target = castToType<String>(value); break;
case 'rel': rel = castToType<String>(value); break;
case 'type': type = castToType<String>(value); break;
case 'protocol': protocol = castToType<String>(value); break;
case 'host': host = castToType<String>(value); break;
case 'hostname': hostname = castToType<String>(value); break;
case 'port': port = castToType<String>(value); break;
case 'pathname': pathname = castToType<String>(value); break;
case 'search': search = castToType<String>(value); break;
case 'hash': hash = castToType<String>(value); break;
default: super.setBindingProperty(key, value);
}
}