map method
Maps the source
.
Provides the calling mapper
so child members can be mapped as well.
If needed, additional parameters can be passed to params
.
Implementation
TTarget map(TSource source, AutoMapper mapper, Map params) {
try {
return expression(source, mapper, params);
} catch (exception) {
throw MapException(exception);
}
}