name property
String
get
name
Returns the full name representation of the BattleNetRegion enum value.
Implementation
String get name {
switch (this) {
case BattleNetRegion.us:
return 'North America';
case BattleNetRegion.eu:
return 'Europe';
case BattleNetRegion.kr:
return 'Korea';
case BattleNetRegion.tw:
return 'Taiwan';
}
}