1. override
String toString()

Returns a string representation of this object.

Source

@override
String toString() => "Color(0x${value.toRadixString(16).padLeft(8, '0')})";