timeOutListener method

Future timeOutListener(
  1. void call()
)

Implementation

Future timeOutListener(void Function() call) {
  return Future.delayed(Duration(seconds: timeOut), () {
    call();
  });
}