PageObjectIterable<E> class

Iterable for collections of page objects and PageLoaderElements.

This is a wrapper to construct page objects based on an underlying PageElementIterable. The implementations of PageElementIterable provided by Pageloader result in the page being refreshed with the current state of the DOM.

If the page is not stable, there is no guarantee that consecutive calls will return consistent results. For example, it is possible consecutive calls to 'length' will return different results.

Constructors

PageObjectIterable(PageElementIterable _elementIterable, PageObjectConstructor<E> _pageObjectConstructor)

Properties

first Future<E>
Gets the current first element from the PageElementIterable.
no setter
hashCode int
The hash code for this object.
no setterinherited
iterator Future<Iterator<E>>
Creates a PageObjectIterator based on the underlying PageElementIterable.
no setter
length Future<int>
Gets the current length of the underlying PageElementIterable.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited