toValue method
Implementation
String toValue() {
switch (this) {
case PlatformStatus.creating:
return 'Creating';
case PlatformStatus.failed:
return 'Failed';
case PlatformStatus.ready:
return 'Ready';
case PlatformStatus.deleting:
return 'Deleting';
case PlatformStatus.deleted:
return 'Deleted';
}
}