dispose method
void
dispose()
override
Implementation
void dispose() {
dispatchEvent(Event(type: "dispose"));
textures.forEach((t){
t.dispose();
});
textures.clear();
}
void dispose() {
dispatchEvent(Event(type: "dispose"));
textures.forEach((t){
t.dispose();
});
textures.clear();
}