toValue method
Implementation
String toValue() {
switch (this) {
case Tenancy.dedicated:
return 'DEDICATED';
case Tenancy.shared:
return 'SHARED';
}
}
String toValue() {
switch (this) {
case Tenancy.dedicated:
return 'DEDICATED';
case Tenancy.shared:
return 'SHARED';
}
}