toNodeAssociationStatus method
Implementation
NodeAssociationStatus toNodeAssociationStatus() {
switch (this) {
case 'SUCCESS':
return NodeAssociationStatus.success;
case 'FAILED':
return NodeAssociationStatus.failed;
case 'IN_PROGRESS':
return NodeAssociationStatus.inProgress;
}
throw Exception('$this is not known in enum NodeAssociationStatus');
}