dispose method

  1. @override
void dispose()
override

Implementation

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