MapList2List constructor

MapList2List({
  1. required Mapper mapper,
  2. required Type sourceType,
  3. required Type targetType,
  4. required MapperProperty property,
  5. required Function factory,
})

Implementation

MapList2List({required this.mapper, required this.sourceType, required this.targetType, required this.property, required this.factory}) {
  // check if polymorphic

  if ( TypeDescriptor.hasType(sourceType)) {
    polymorphic = TypeDescriptor.forType(sourceType).childClasses.isNotEmpty;
  }
}