copy method

QuantileScale<R> copy()

Creates a copy of this scale.

Implementation

QuantileScale<R> copy() {
  return QuantileScale<R>(
    domain: List.from(_domain),
    range: List.from(_range),
  );
}