delay500ms static method

Future<void> delay500ms()

Delays the execution for 500 milliseconds.

Implementation

static Future<void> delay500ms() {
  return Future.delayed(const Duration(milliseconds: 500));
}