ensureInitialized static method

CognitionPackage ensureInitialized()

Returns the singleton instance of CognitionPackage. If it has not yet been initialized, this call makes sure to create and initialize it.

Implementation

static CognitionPackage ensureInitialized() => _instance;