delayMillis function
Wait for the amount of milliseconds specified in millis
.
This is not the same as sleep. This function does not block any asynchronous operations in the current Isolate.
Implementation
Future<void> delayMillis(int millis) => delay(Duration(milliseconds: millis));