toMap method

Map<String, num?> toMap()
override

Implementation

Map<String, num?> toMap() => {'r': r, 'g': g, 'b': b};