TestObserver class

Constructors

TestObserver()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sub StreamSubscription?
getter/setter pair

Methods

assertDone() Future<void>
assertError(dynamic error) Future<void>
assertNoErrors() Future<void>
assertNotDone() Future<void>
assertNoValues() Future<void>
assertStreamMatchers(StreamMatcher matcher) Future<void>
assertValue(dynamic value) Future<void>
assertValueAt(int index, dynamic value) Future<void>
assertValues(List values) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(Stream stream) → void
onData(dynamic item) → void
onDone() → void
onError(dynamic error, StackTrace stack) → void
toString() String
A string representation of this object.
inherited

Operators

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