String toString( )

toString() returns a newline seperated string containing every HexColor in colors with the '#' character prepended.

Source

/// toString() returns a newline seperated string
/// containing every HexColor in [colors] with the
/// '#' character prepended.
String toString() {
  String res = '';
  colors.forEach((i) => res += '#${i}\n');
  return res;
}