toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ThingGroupIndexingMode.off:
      return 'OFF';
    case ThingGroupIndexingMode.on:
      return 'ON';
  }
}