PalletTypedef typedef
PalletTypedef =
void Function(AnyLegacyModule mod, int index)
PalletTypedef helps to call the function for each module and passes the module and the index
Implementation
typedef PalletTypedef = void Function(AnyLegacyModule mod, int index);