hasAutoMap method

bool hasAutoMap(
  1. Type destination,
  2. Type source
)

Checks if the mapper has an auto map for the destination and source types.

Implementation

bool hasAutoMap(Type destination, Type source) =>
    _autoMaps.containsKey(destination) &&
    _autoMaps[destination]!.containsKey(source) &&
    _autoMaps[destination]![source] != null;