I have a separated function class that is taking parameter and which this parameter doing some process and finally returns a flatlist by this processed data. I want to call this