reloadAfter method Null safety
- dynamic milliseconds
Implementation
Future<void> reloadAfter(milliseconds) async {
timers.add(Timer(
Duration(milliseconds: milliseconds),
() => setState(() {
reloadCounter++;
})));
}