closeNextFrame method

Future<void> closeNextFrame()

Implementation

Future<void> closeNextFrame() async {
  if (!_running) {
    return;
  }

  await Future<void>.delayed(const Duration(milliseconds: 80));

  dispose();
}