In JavaScript, I could constantly fetch data without an explicit request from the user by calling a function fetchData()
every five seconds using setInterval(function() { fetchData() }, 5000);
and this is an incredibly useful tool for me. Is there a similar equivalent in Flutter?
↧
How to fetch data (method call) every five seconds in Flutter?
↧