toValue method
Implementation
String toValue() {
switch (this) {
case EndpointStatus.created:
return 'created';
case EndpointStatus.creating:
return 'creating';
case EndpointStatus.deleted:
return 'deleted';
case EndpointStatus.deleting:
return 'deleting';
case EndpointStatus.failed:
return 'failed';
}
}