Set sleep by specific duration.
Future duration(Duration duration) { return Future.delayed(duration, () {}); }