callAsync method

void callAsync(
  1. dynamic func()
)

Implementation

void callAsync(Function() func) {
  Timer(const Duration(seconds: 0), () => func());
}