toAssociationStatusName method
Implementation
AssociationStatusName toAssociationStatusName() {
switch (this) {
case 'Pending':
return AssociationStatusName.pending;
case 'Success':
return AssociationStatusName.success;
case 'Failed':
return AssociationStatusName.failed;
}
throw Exception('$this is not known in enum AssociationStatusName');
}