description

# pause static method

1. @Since.new("3.13")

Future<void> pause([

1. Duration duration = Duration.zero

])

Creates a Future that completes with no result after `duration`.

Like Future.delayed, but does not perform any action, and cannot complete with an error.

## Implementation

    @Since("3.13")
    static Future<void> pause([Duration duration = Duration.zero]) {
      var result = _Future<void>();
      Zone._current.createTimer(duration, () {
        result._completeWithValue(null);
      });
      return result;
    }