toValue method
Implementation
String toValue() {
switch (this) {
case MemberAccountRuleStatus.createSuccessful:
return 'CREATE_SUCCESSFUL';
case MemberAccountRuleStatus.createInProgress:
return 'CREATE_IN_PROGRESS';
case MemberAccountRuleStatus.createFailed:
return 'CREATE_FAILED';
case MemberAccountRuleStatus.deleteSuccessful:
return 'DELETE_SUCCESSFUL';
case MemberAccountRuleStatus.deleteFailed:
return 'DELETE_FAILED';
case MemberAccountRuleStatus.deleteInProgress:
return 'DELETE_IN_PROGRESS';
case MemberAccountRuleStatus.updateSuccessful:
return 'UPDATE_SUCCESSFUL';
case MemberAccountRuleStatus.updateInProgress:
return 'UPDATE_IN_PROGRESS';
case MemberAccountRuleStatus.updateFailed:
return 'UPDATE_FAILED';
}
}