TestInfoList<St> class

List of test information, before or after some actions are dispatched.

Constructors

TestInfoList()

Properties

first TestInfo<St>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isEmpty bool
read-only
isNotEmpty bool
read-only
last TestInfo<St>
read-only
length int
The number of dispatched actions.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

firstWhere(bool test(TestInfo<St> element), {TestInfo<St> orElse()}) TestInfo<St>
forEach(void action(TestInfo<St> element)) → void
get(Type actionType, [int n = 1]) TestInfo<St>
Returns the n-th info corresponding to the end of the given action type Note: N == 1 is the first one.
getAll(Type actionType) List<TestInfo<St>>
Returns all info corresponding to the action type.
getIndex(int index) TestInfo<St>
Returns info corresponding to the end of the index-th dispatched action type.
lastWhere(bool test(TestInfo<St> element), {TestInfo<St> orElse()}) TestInfo<St>
map<T>(T f(TestInfo<St> element)) Iterable<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
singleWhere(bool test(TestInfo<St> element), {TestInfo<St> orElse()}) TestInfo<St>
toList({bool growable: true}) List<TestInfo<St>>
toSet() Set<TestInfo<St>>
toString() String
Returns a string representation of this object.
inherited
where(bool test(TestInfo<St> element)) Iterable<TestInfo<St>>

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](Type actionType) TestInfo<St>
Returns the first info corresponding to the end of the given action type.