dispose method
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Implementation
@override
void dispose() {
shadow?.dispose();
}
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
@override
void dispose() {
shadow?.dispose();
}