isProduction property

bool isProduction
final

Indicates if your app works in production or in sandbox Will be production by default

Implementation

static final bool isProduction =
    (Platform.environment['QUICKBOOKS_IS_PRODUCTION'] ??
            (const String.fromEnvironment('QUICKBOOKS_IS_PRODUCTION'))) !=
        "false";