updateView method

Future<void> updateView()

Implementation

Future<void> updateView() async {
  await Future.delayed(const Duration(seconds: 2));
  widget.callback(false, true);
}