lastWhere abstract method

IndexedNode lastWhere(
  1. bool test(
    1. IndexedNode element
    ), {
  2. IndexedNode orElse()?,
})

Get the last child node that matches the criterion in the test. An optional orElse function can be provided to handle the test is not able to find any node that matches the provided criterion.

Implementation

IndexedNode lastWhere(bool Function(IndexedNode element) test,
    {IndexedNode orElse()?});