mockParseResults method

void mockParseResults({
  1. List<Model>? models,
  2. List<Module>? flutterModules,
  3. List<Module>? nativeModules,
})

Implementation

void mockParseResults(
    {List<Model>? models,
    List<Module>? flutterModules,
    List<Module>? nativeModules}) {
  if (models != null && models.isNotEmpty) {
    _models.addAll(models);
  }

  if (flutterModules != null && flutterModules.isNotEmpty) {
    _flutterModules.addAll(flutterModules);
  }

  if (nativeModules != null && nativeModules.isNotEmpty) {
    _nativeModules.addAll(nativeModules);
  }
}