hasMainInstance property

bool get hasMainInstance

Whether the main instance has been set.

Implementation

bool get hasMainInstance => _mainInstance != null;