AsyncCallable constructor

  1. @Deprecated('Use `AsyncCallable.function` instead.')
AsyncCallable(
  1. String name,
  2. String arguments,
  3. FutureOr<Value> callback(
    1. List<Value> arguments
    )
)

Implementation

@Deprecated('Use `AsyncCallable.function` instead.')
factory AsyncCallable(
  String name,
  String arguments,
  FutureOr<Value> callback(List<Value> arguments),
) =>
    AsyncCallable.function(name, arguments, callback);