getMapping<S, T> method
Implementation
Mapping<S,T> getMapping<S,T>() {
var key = MappingKey(source: S, target: T);
var mapping = mappings[key];
if (mapping == null) {
throw MapperException('No mapping found for <$S, $T>');
}
return mapping as Mapping<S,T>;
}