toColorModels method

List<ColorModel> toColorModels()

Returns this iterable as a list of ColorModels.

Implementation

List<ColorModel> toColorModels() =>
    map((color) => color.toColorModel()).toList();