I need to call a dynamic function based on whether we are migrating from a test environment to main net.
Here is the call that needs to be dynamic.
Assuming I am passing in a variable called environment that with be either: Mainnet Testnet
Result should mimic:
client.forTestnet()
or
client.forMainney()