then<R> method

Future<R?> then<R>(
  1. R block()?
)

Implementation

Future<R?> then<R>(R block()?) async {
  await Future.delayed(this);
  return block?.call();
}