withRed method

PaletteEntry withRed(
  1. int red
)

Implementation

PaletteEntry withRed(int red) {
  return PaletteEntry(color.withRed(red));
}