register method

void register(
  1. List<MineralPackageContract> packages
)

Implementation

void register (List<MineralPackageContract> packages) {
  _packages.addAll(packages);

  for (final package in packages) {
    ioc.bind((ioc) => package);
  }
}