dispose method

  1. @override
void dispose()
override

Implementation

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