from method

void from(
  1. Palette<T> other
)

Implementation

void from(Palette<T> other) => other.iterate((T value, int id) => add(value));