PostExpectation<T> class Null safety

Constructors

PostExpectation()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
thenAnswer(Answering<T> answer) → void
Store a function which is called when this method stub is called.
thenReturn(T expected) → void
Store a canned response for this method stub.
thenThrow(Object throwable) → void
Store an exception to throw when this method stub is called.
toString() String
A string representation of this object.
inherited

Operators

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