I have function that fetches data from api. I need to return the data to a variable declared inside the in class. Below is the the function
getColumns(){