copyWith abstract method

ColorModel copyWith({
  1. int? alpha,
})

Returns a copy of this color modified with the provided values.

Implementation

ColorModel copyWith({int? alpha});