setProduction static method
- bool prod
Switches the LeanEngine environment.
true
: the production environment.false
: the staging environment.
Implementation
static void setProduction(bool prod) {
isProd = prod;
}
Switches the LeanEngine environment.
true
: the production environment.false
: the staging environment.static void setProduction(bool prod) {
isProd = prod;
}