How to provide parameter of type String <set-?>

40 Views Asked by At

Sorry for the beginner question. I'm using Notion API library and the getRichText return a List<String> but setRichText expects a parameter of type String <set-?>.

I have no clue what is expected here. Obviously a List<String> does not work, and I have no idea how to convert the List<String> to String <set-?>.

1

There are 1 best solutions below

0
DenisShanghai On

Problem solved, it just expects a String.