apply method
- required ZetaContrast contrast,
Apply the given contrast to the color scheme and return a new color scheme.
If the contrast is the same as the current one, this method will return the current color scheme.
Implementation
ZetaColors apply({
required ZetaContrast contrast,
}) {
if (contrast == this.contrast) return this;
return copyWith(
contrast: contrast,
);
}