removeEffectsByKey method

void removeEffectsByKey (
  1. String effectKey
)

This method is usefull to remove effects passing effectKey on demand.

Implementation

void removeEffectsByKey(String effectKey) {
  if (_subs.containsKey(effectKey)) {
    _subs[effectKey].cancel();
    _subs.remove(effectKey);
  }
}