run abstract method

dynamic run(
  1. dynamic callback(
    1. FakeAsync self
    )
)

Runs callback in a Zone with fake timer and microtask scheduling.

Uses ZoneSpecification.createTimer, ZoneSpecification.createPeriodicTimer, and ZoneSpecification.scheduleMicrotask to store callbacks for later execution within the zone via calls to elapse.

Calls callback with this as argument and returns the result returned by callback.

Implementation

dynamic run(Function(FakeAsync self) callback);