code property Null safety
환경별 영문 텍스트입니다. 환경설정 화면 -> 소프트웨어 업데이트 화면에서 표시할때 사용합니다.
Implementation
static String get code {
switch (appFlavor) {
case Flavor.PROD:
return 'prod';
case Flavor.TEST:
return 'test';
case Flavor.DEV:
default:
return 'dev';
}
}