moduleImpl<T> method

dynamic moduleImpl <T>(
  1. dynamic onInit(
    1. Provider
    )
)

create ModuleImpl and add to queue

Implementation

moduleImpl<T>(dynamic Function(Provider) onInit) {
  module(ModuleImpl<T>(onInit));
}