getEffectByKey<T extends TouchRippleEffect> method
Returns the ripple effect instance corresponding a given key.
Implementation
T? getEffectByKey<T extends TouchRippleEffect>(String key) {
return _stateMap[key] as T?;
}