TestEventSequence<T> class

Encapsulates a sequence of TestEvent instances.

Annotations
  • @immutable

Constructors

TestEventSequence(List<TestEvent<T>> events, {Map<String, T> values = const {}})
Constructor of a list of events to an event sequence.
TestEventSequence.fromString(String marbles, {Map<String, T> values = const {}, Object error = 'Error'})
Converts a string of marbles to an event sequence.
factory

Properties

baseEvents Iterable<Event<T>>
Sequence of Event instances.
no setter
events List<TestEvent<T>>
Sequence of TestEvent instances.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values → BiMap<String, T>
Optional mapping from marble tokens to objects.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMarbles() String
Converts back the event sequence to a marble string.
toString() String
A string representation of this object.
override

Operators

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