build method
Implementation
String build() {
if (type == _TypeFilterCSS.value) {
return [
if (blur != null) 'blur(${blur!.build()})',
if (brightness != null) 'brightness($brightness)',
if (contrast != null) 'contrast($contrast)',
if (dropShadow != null) 'drop-shadow(${dropShadow!.build()})',
if (grayscale != null) 'grayscale($grayscale)',
if (hueRotate != null) 'hue-rotate(${hueRotate!.degText})',
if (invert != null) 'invert($invert)',
if (opacity != null) 'opacity($opacity)',
if (saturate != null) 'saturate($saturate)',
if (sepia != null) 'sepia($sepia)',
if (url != null) 'url($url)',
].join(' ');
} else {
return _mapper(type);
}
}