update method
void
update()
Implementation
void update() {
if (!attached) {
throw StateError(
'Cannot update: component is not mounted. '
'Make sure component is stored as field, not created inline.',
);
}
runtime.requestUpdate();
}