getType<T> method

T getType<T>({
  1. Object? group,
  2. bool useNopGroup = true,
  3. int? position = 1,
})

group shared group

useNopGroup :use Nop.group if group == null and Nop.groupList.contains(T).

Implementation

T getType<T>({Object? group, bool useNopGroup = true, int? position = 1}) {
  return Nop.of(this,
      group: group, useNopGroup: useNopGroup, position: position);
}