requestVisualUpdate method Null safety
Calls onNeedVisualUpdate if onNeedVisualUpdate is not null.
Used to notify the pipeline owner that an associated render object wishes to update its visual appearance.
Implementation
void requestVisualUpdate() {
onNeedVisualUpdate?.call();
}