delaySeconds static method

Future<void> delaySeconds(
  1. int seconds,
  2. VoidCallback callback
)

delay callback for seconds

Implementation

static Future<void> delaySeconds(int seconds, VoidCallback callback) =>
    DelayedUtils.delayAny(callback, duration: Duration(seconds: seconds));