writeValue method
Write a new value to the element.
Implementation
@override
void writeValue(newValue) {
initializeSelectionModel();
if (newValue != null) {
selectionModel.select(newValue);
} else {
selectionModel.clear();
}
}
Write a new value to the element.
@override
void writeValue(newValue) {
initializeSelectionModel();
if (newValue != null) {
selectionModel.select(newValue);
} else {
selectionModel.clear();
}
}