Convert the object to a Json format.
@override Object toJson() => <Object>[ 'circleGlyph', <String, Object>{'color': color.toARGB32()}, ];