toJson method

Object toJson()

Implementation

Object toJson() => bind == null ? [r, g, b, a] : {'bind': bind};