toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Feature.bluetooth:
      return 'BLUETOOTH';
    case Feature.volume:
      return 'VOLUME';
    case Feature.notifications:
      return 'NOTIFICATIONS';
    case Feature.lists:
      return 'LISTS';
    case Feature.skills:
      return 'SKILLS';
    case Feature.networkProfile:
      return 'NETWORK_PROFILE';
    case Feature.settings:
      return 'SETTINGS';
    case Feature.all:
      return 'ALL';
  }
}