lastWhere method

Finds the last element in this stream matching test.

Future lastWhere(
bool test(T element),
{Object defaultValue()}
)

Finds the last element in this stream matching test.

As firstWhere, except that the last matching element is found. That means that the result cannot be provided before this stream is done.