doubleDelayed function

Future<void> doubleDelayed(
  1. FutureOr callOne(),
  2. FutureOr callTwo(), [
  3. int t1 = 0,
  4. int t2 = 0,
])

Implementation

Future<void> doubleDelayed(
  final FutureOr<dynamic> Function() callOne,
  final FutureOr<dynamic> Function() callTwo, [
    final int t1 = 0,
    final int t2 = 0
  ]
) async {
  await delayed(callOne, t1);
  await delayed(callTwo, t2);
}