BaseMapping<M> constructor

const BaseMapping<M>({
  1. String? mapperName,
  2. Type? mapperType,
  3. M? mapperInstance,
  4. String? factoryName,
  5. Object? factoryConfigInstance,
})

Creates a base resource mapping with the specified class IRI and mapper configuration.

Implementation

const BaseMapping({
  String? mapperName,
  Type? mapperType,
  M? mapperInstance,
  String? factoryName,
  Object? factoryConfigInstance,
})  : _mapperName = mapperName,
      _mapperType = mapperType,
      _mapperInstance = mapperInstance,
      _factoryName = factoryName,
      _factoryConfigInstance = factoryConfigInstance;