You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
322 B

2 years ago
import 'package:power_logger/power_logger.dart';
class DevEV {
static final DevEV _instance = DevEV._();
DevEV._();
static DevEV get instance => _instance;
bool dev = false;
void setEnvironment(context, {required bool environment}) {
dev = environment;
PowerLogger.start(context, debug: dev);
}
}