toColor constant
String
const toColor
Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.
Sdk Support: basic functionality with js, android, ios, macos
Implementation
static const toColor = "to-color";