selectAll method
Implementation
void selectAll(bool selected) {
if (onSelectRows == null || primaryKeyName == null) {
return;
}
final List<String> keys = [];
if (selected) {
keys.addAll(_rows.map((row) => row[primaryKeyName].toString()).toList());
}
onSelectRows!(keys);
}