toValue method
Implementation
String toValue() {
switch (this) {
case InstanceType.blue:
return 'Blue';
case InstanceType.green:
return 'Green';
}
}
String toValue() {
switch (this) {
case InstanceType.blue:
return 'Blue';
case InstanceType.green:
return 'Green';
}
}