Callable.fromSignature constructor
Callable.fromSignature(})
Creates a callable with a single signature
and a single callback
.
Throws a SassFormatException if parsing fails.
Implementation
factory Callable.fromSignature(
String signature, Value callback(List<Value> arguments),
{bool requireParens = true}) {
var (name, declaration) =
parseSignature(signature, requireParens: requireParens);
return BuiltInCallable.parsed(name, declaration, callback);
}