dispose method
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Implementation
@override
void dispose() {
geometry?.dispose();
material?.dispose();
children[ 0 ].geometry?.dispose();
children[ 0 ].material?.dispose();
}