toValue method
Implementation
String toValue() {
switch (this) {
case IndexStatus.active:
return 'ACTIVE';
case IndexStatus.building:
return 'BUILDING';
case IndexStatus.rebuilding:
return 'REBUILDING';
}
}
String toValue() {
switch (this) {
case IndexStatus.active:
return 'ACTIVE';
case IndexStatus.building:
return 'BUILDING';
case IndexStatus.rebuilding:
return 'REBUILDING';
}
}