fake_async library

Classes

FakeAsync
A class that mocks out the passage of time within a Zone. [...]

Functions

fakeAsync<T>(T callback(FakeAsync async), { DateTime initialTime }) → T
Runs callback in a Zone where all asynchrony is controlled by an instance of FakeAsync. [...]