toValue method
Implementation
String toValue() {
switch (this) {
case PoolStatus.active:
return 'ACTIVE';
case PoolStatus.deleted:
return 'DELETED';
}
}
String toValue() {
switch (this) {
case PoolStatus.active:
return 'ACTIVE';
case PoolStatus.deleted:
return 'DELETED';
}
}