defaultScheduler top-level property

Scheduler get defaultScheduler

Returns the default scheduler instance to be used.

Implementation

Scheduler get defaultScheduler =>
    _defaultScheduler ?? const CurrentZoneScheduler();
set defaultScheduler (Scheduler? scheduler)

Sets the default scheduler instance to be used.

Implementation

set defaultScheduler(Scheduler? scheduler) => _defaultScheduler = scheduler;