copyValuesFrom method

  1. @override
void copyValuesFrom(
  1. covariant AbstractEMAIndicator<T> other
)
override

Copies the result of other as its own.

Implementation

@override
void copyValuesFrom(covariant AbstractEMAIndicator<T> other) {
  super.copyValuesFrom(other);
  if (indicator is CachedIndicator) {
    (indicator as CachedIndicator<T>)
        .copyValuesFrom(other.indicator as CachedIndicator<T>);
  }
}