isSupported property

  1. @override
bool get isSupported
override

Whether this source can actually read the OS on the current platform.

false covers two cases that behave identically at the call site but mean different things: an OS with no FFI path at all (UnsupportedIdleSource), and a platform whose binding has not been written yet. Both throw from idleMilliseconds.

Implementation

@override
bool get isSupported => false;