name property

String get name

Returns the string representation of the BattleNetScope enum value.

Implementation

String get name {
  switch (this) {
    case BattleNetScope.wowProfile:
      return 'wow.profile';
    case BattleNetScope.sc2Profile:
      return 'sc2.profile';
    case BattleNetScope.d3Profile:
      return 'd3.profile';
    case BattleNetScope.openid:
      return 'openid';
  }
}