getEffect method

EEffect? getEffect(
  1. String name
)

Implementation

EEffect? getEffect(String name) {
  return _effects.firstWhere((element) => element.name == name);
}