# originalPodName method

1. @protected

String originalPodName(

1. String name

)

Returns the original pod name by removing any prefix and suffix.

This method is used to retrieve the original pod name from a transformed name by removing any prefix or suffix that may have been added during pod registration or configuration.

Usage Example:

    final original = originalPodName('myPod');

`name` the transformed pod name Returns the original pod name

## Implementation

    @protected
    String originalPodName(String name) {
    		String transformed = transformedPodName(name);
    		if (name.isNotEmpty && name.startsWith(PodUtils.POD_PROVIDER_PREFIX)) {
    			transformed = "${PodUtils.POD_PROVIDER_PREFIX}$transformed";
    		}

    		return transformed;
    	}