downloadAllMiniPrograms method

  1. @override
Future<bool> downloadAllMiniPrograms(
  1. List<NUIMiniProgramModule> modules
)
override

Implementation

@override
Future<bool> downloadAllMiniPrograms(List<NUIMiniProgramModule> modules) async{
  List<Future<String>> futures = [];
  _modules.forEach((element) {
    futures.add(initializedProgram(element));
  });

  await Future.wait(futures);
  return true;
}