removeEffect method

void removeEffect(
  1. String name
)

Implementation

void removeEffect(String name) {
  _effects.removeWhere((element) => element.name == name);
}