toValue method
Implementation
String toValue() {
switch (this) {
case UserProfileStatus.deleting:
return 'Deleting';
case UserProfileStatus.failed:
return 'Failed';
case UserProfileStatus.inService:
return 'InService';
case UserProfileStatus.pending:
return 'Pending';
case UserProfileStatus.updating:
return 'Updating';
case UserProfileStatus.updateFailed:
return 'Update_Failed';
case UserProfileStatus.deleteFailed:
return 'Delete_Failed';
}
}