isOnline property

bool get isOnline

Whether the simulated network is up. Slow counts as up.

Implementation

bool get isOnline => _released || _mode != NetworkMode.offline;