name property
String
get
name
Implementation
String get name {
switch (this) {
case Environment.dev:
return 'https://testing.simpliworks.co.in/';
case Environment.stag:
return 'https://test-brmdemo.simpliworks.co.in/';
case Environment.prod:
return 'https://sw2-brm.simpliworks.co.in:453/';
case Environment.localApi:
return 'http://192.168.1.83/';
case Environment.wscsw2:
return 'https://wscsw2.simpliworks.co.in:453/';
default:
return 'dev';
}
}