XPathFunctionItem.function constructor

const XPathFunctionItem.function({
  1. required XmlName name,
  2. required int arity,
  3. required XPathFunctionN function,
  4. List<XPathType>? parameterTypes,
  5. XPathType? returnType,
})

Creates a general function item taking a list of arguments.

Implementation

const factory function({
  required XmlName name,
  required int arity,
  required XPathFunctionN function,
  List<XPathType>? parameterTypes,
  XPathType? returnType,
}) = _XPathFunctionN.named;