delay method
Implementation
Future<void> delay([VoidCallback? callback]) async {
await Future.delayed(Duration(milliseconds: (this * 1000).toInt()));
callback?.call();
}
Future<void> delay([VoidCallback? callback]) async {
await Future.delayed(Duration(milliseconds: (this * 1000).toInt()));
callback?.call();
}