findMatches method

  1. @override
void findMatches(
  1. MappingDefinition definition,
  2. List<Match> matches
)
override

Implementation

@override
void findMatches(MappingDefinition definition, List<Match> matches) {
  for (var property in computeProperties(definition.sourceClass, definition.targetClass))
    matches.add(Match(
        operation: this,
        source: [PropertyAccessor(name: property)],
        target: [PropertyAccessor(name: property)]
    ));
}