toString method

  1. @override
String toString()
override

Returns a string representation of this RGB color.

Format: "ColorRGB: r: {r}, g: {g}, b: {b}"

Implementation

@override
String toString() => 'ColorRGB: r: $r, g: $g, b: $b';