@@ -83,6 +83,7 @@ class SassColor extends Value {
83
83
/// [missing] : https://www.w3.org/TR/css-color-4/#missing
84
84
///
85
85
/// @nodoc
86
+ @internal
86
87
final double ? channel0OrNull;
87
88
88
89
/// This color's second channel.
@@ -118,6 +119,7 @@ class SassColor extends Value {
118
119
/// [missing] : https://www.w3.org/TR/css-color-4/#missing
119
120
///
120
121
/// @nodoc
122
+ @internal
121
123
final double ? channel1OrNull;
122
124
123
125
/// Returns whether this color's third channel is [missing] .
@@ -156,6 +158,7 @@ class SassColor extends Value {
156
158
/// [missing] : https://www.w3.org/TR/css-color-4/#missing
157
159
///
158
160
/// @nodoc
161
+ @internal
159
162
final double ? channel2OrNull;
160
163
161
164
/// The format in which this color was originally written and should be
@@ -624,8 +627,9 @@ class SassColor extends Value {
624
627
625
628
/// Converts this color to [space] .
626
629
///
627
- /// If [legacyMissing] is false, this will convert missing channels in
628
- /// legacy color spaces to zero if a conversion occurs.
630
+ /// If [legacyMissing] is false, this will convert missing channels in legacy
631
+ /// color spaces to zero if a conversion occurs. Otherwise, they remain
632
+ /// missing after the conversion.
629
633
SassColor toSpace (ColorSpace space, {bool legacyMissing = true }) {
630
634
if (this .space == space) return this ;
631
635
0 commit comments