menu
fake_async package
documentation
fake_async.dart
fake_async.dart
dark_mode
light_mode
fake_async
library
Classes
FakeAsync
A class that mocks out the passage of time within a
Zone
.
FakeTimer
An implementation of
Timer
that's controlled by a
FakeAsync
.
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
.
fake_async package
documentation
fake_async.dart
fake_async
package
Libraries
fake_async
fake_async library