rootEnvironment property

RootEnvironment rootEnvironment

Returns RootEnvironment.Staging if appApiKey is null. Returns RootEnvironment.Production if appApiKey is set in .env. Used by Onboarding in the templates.

Implementation

static RootEnvironment get rootEnvironment =>
    (appApiKey == null) ? RootEnvironment.Staging : RootEnvironment.Production;