AsyncCallable.function constructor
AsyncCallable.function()
Creates a callable with the given name
and arguments
that runs
callback
when called.
The argument declaration is parsed from arguments
, which should not
include parentheses. Throws a SassFormatException if parsing fails.
See Callable.new for more details.
Implementation
factory AsyncCallable.function(String name, String arguments,
FutureOr<Value> callback(List<Value> arguments)) =>
AsyncBuiltInCallable.function(name, arguments, callback);