detectEnvironment method
Detect environment automatically
Implementation
String detectEnvironment() {
if (kDebugMode) {
return 'development';
}
return 'production';
}
Detect environment automatically
String detectEnvironment() {
if (kDebugMode) {
return 'development';
}
return 'production';
}