dispose method

void dispose()

Implementation

void dispose(){
  for(final key in renderItems.keys){
    renderItems[key]?.dispose();
  }
  for(final o in opaque){
    o.dispose();
  }
  for(final t in transmissive){
    t.dispose();
  }
  for(final t in transparent){
    t.dispose();
  }
}