hasApp property

bool get hasApp

Whether the RelicApp has been created.

The app is created lazily on first route or middleware registration. When true, start will serve the app and stop will close it.

Implementation

bool get hasApp => _appOrNull != null;