XPathEvaluatorBase constructor

XPathEvaluatorBase({
  1. XPathExpression createExpression(
    1. String, [
    2. Object?
    ])?,
  2. Node createNSResolver(
    1. Node
    )?,
  3. XPathResult evaluate(
    1. String,
    2. Node, [
    3. Object?,
    4. num?,
    5. XPathResult?,
    ])?,
})

Implementation

factory XPathEvaluatorBase({
  _i3.XPathExpression Function(
    _i2.String, [
    _i2.Object?,
  ])? createExpression,
  _i3.Node Function(_i3.Node)? createNSResolver,
  _i3.XPathResult Function(
    _i2.String,
    _i3.Node, [
    _i2.Object?,
    _i2.num?,
    _i3.XPathResult?,
  ])? evaluate,
}) =>
    XPathEvaluatorBase._(
      createExpression: createExpression == null
          ? null
          : _i4.allowInterop(createExpression),
      createNSResolver: createNSResolver == null
          ? null
          : _i4.allowInterop(createNSResolver),
      evaluate: evaluate == null ? null : _i4.allowInterop(evaluate),
    );