dispose method

  1. @override
void dispose()
override

Implementation

@override
dispose() {
  geometry!.dispose();
  material.dispose();
}