I used the spread operator that basically spreads the elements to make them compatible with varargs
.
addAttributes(*atts)
This worked.
I used the spread operator that basically spreads the elements to make them compatible with varargs
.
addAttributes(*atts)
This worked.