disposed property

bool get disposed

Check if the effect is disposed

Implementation

bool get disposed => _disposed;
set disposed (bool value)

Force an effect to be disposed

Implementation

set disposed(bool value) {
  if (_disposed == value) return;
  if (!_disposed && value) dispose();
  _disposed = value;
}