setFlavorConfig static method
dynamic
setFlavorConfig({})
baseUrl, baseWebUrl, endpoint flavor, logging user set this config in main()
Implementation
static setFlavorConfig(
{required String baseUrl,
required String baseWebUrl,
bool isRelease = false,
String? endpoint,
bool enablePrintLog = false}) {
AppConfig.baseUrl = baseUrl;
AppConfig.baseWebUrl = baseWebUrl;
AppConfig._isRelease = isRelease;
AppConfig._endpoint = endpoint ?? "";
AppConfig._enablePrintLog = enablePrintLog;
}