copy method

  1. @override
ScalePow<Y> copy()
override

Returns an exact copy of this scale.

Changes to this scale will not affect the returned scale, and vice versa.

Implementation

@override
ScalePow<Y> copy() => assign(
    ScalePow(domain: domain, range: range, interpolate: this.interpolate),
    this)
  ..exponent = exponent;