dispose method
Implementation
@override
void dispose() {
geometry?.dispose();
material.dispose();
children[0].geometry?.dispose();
children[0].material.dispose();
}
@override
void dispose() {
geometry?.dispose();
material.dispose();
children[0].geometry?.dispose();
children[0].material.dispose();
}