dispose method
disposes of the model releasing resources and removing bindings
Implementation
@override
dispose() {
// cleanup
header?.dispose();
// clear rows
rows.forEach((_, row) => row.dispose());
rows.clear();
super.dispose();
}
disposes of the model releasing resources and removing bindings
@override
dispose() {
// cleanup
header?.dispose();
// clear rows
rows.forEach((_, row) => row.dispose());
rows.clear();
super.dispose();
}