sleep method

Future<void> sleep()

Implementation

Future<void> sleep() async {
  await Future.delayed(Duration(seconds: this));
}