call method
Magic method that allows instances of ColorFilter to be called as functions. The filter itself should be called as a function, rather than calling this method directly.
Implementation
Color call(Color color, List<num> args) {
if (baseType != null) {
var startingColorSpace = color.runtimeType;
color = color._convert(baseType!);
color = filterFunction(color, args);
return color._convert(startingColorSpace);
}
return filterFunction(color, args);
}