getMappingX method

Mapping getMappingX(
  1. Type source,
  2. Type target
)

Implementation

Mapping getMappingX(Type source, Type target) {
  var key = MappingKey(source: source, target: target);
  var mapping = mappings[key];
  if (mapping == null) {
    throw MapperException('No mapping found for <$source, $target>');
  }

  return mapping;
}