TestInfoList<St> class
List of test information, before or after some actions are dispatched.
Constructors
Properties
-
first
→ TestInfo<
St> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- isNotEmpty → bool
-
no setter
-
last
→ TestInfo<
St> -
no setter
- length → int
-
The number of dispatched actions.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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 -
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.