It is very normal for a developer to build the power automate in one environment and then export that automate & import it to another destination environment.
Exporting our Solution
After validating our flows work in our test environment, we now want to promote it to our production environment. We can export our solution by finding it in our Solutions experience, clicking on the ..., selecting Export.
Graphical user interface, application, Teams Description automatically generated

Reference:
https://flow.microsoft.com/en-us/blog/solutions-in-microsoft-flow/