removeStrokeEffect method Null safety

void removeStrokeEffect(
  1. StrokeEffect effect
)

Implementation

void removeStrokeEffect(StrokeEffect effect) {
  if (effect == _effect) {
    _effect = null;
  }
}