updateOpacity method

void updateOpacity(
  1. double opacity
)

Implementation

void updateOpacity(double opacity) {
  this.opacity.value = opacity;
}