emitSelectionChange method
- @protected
Implementation
@protected
void emitSelectionChange() {
if (_selectionChangeController == null) return;
if (selection is SingleSelectionModel<T>) {
_selectionChangeController!.add(selection.selectedValues.isNotEmpty
? selection.selectedValues.first
: null);
} else {
_selectionChangeController!.add(selection.selectedValues);
}
}