async<Q, R> static method

Future<R> async<Q, R>(
  1. ComputeCallback<Q, R> callback,
  2. Q message, {
  3. String? debugLabel,
})

(方法,参数) 方法是顶级的方法

Implementation

static Future<R> async<Q, R>(ComputeCallback<Q, R> callback, Q message, {String? debugLabel}) {
  return compute(callback, message, debugLabel: debugLabel);
}