addDelayInMillis function

Future addDelayInMillis({
  1. required int milliseconds,
})

Implementation

Future addDelayInMillis({required int milliseconds}) async {
  return Future.delayed(Duration(milliseconds: milliseconds));
}