Imagine that we are developing a bank system for working with multi-currency accounts:
interface Wallet
class UsdWallet: Wallet
class BtcWallet: Wallet
Write the code that will create the Wallet factory component with the BtcWallet implementation. Use Constructor DSL without lambda expressions:
val appModule = module {
// your code here
}