Returns a JSON presentation of the object.
@override Map<String, Object> toJson() { var result = <String, Object>{}; result['element'] = element.toJson(); result['className'] = className; return result; }