mapper property
MapperRef<M> ?
get
mapper
Provides a MapperRef if a custom mapper is specified.
Returns a MapperRef instance if any mapper configuration is provided (name, type, instance, or factory), otherwise returns null.
Implementation
MapperRef<M>? get mapper => (_mapperName != null ||
_mapperInstance != null ||
_mapperType != null ||
_factoryName != null)
? MapperRef(
name: _mapperName,
instance: _mapperInstance,
type: _mapperType,
factoryName: _factoryName,
factoryConfigInstance: _factoryConfigInstance,
)
: null;