mapTo<M> method

ExpectationStep<M> mapTo<M>([
  1. Mapper<M>? mapper
])

Maps resulting records using the specified mapping function.

Implementation

ExpectationStep<M> mapTo<M>([Mapper<M>? mapper]) =>
    _MappingStep(this, mapper ?? _typeMapper<M>());