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