ModelMapping constructor

ModelMapping({
  1. String mappingId,
  2. int sourceAssetModelId,
  3. int targetAssetModelId,
  4. int createdByAssetModelId,
  5. int createdByContactId,
  6. Contact createdBy,
  7. ModelInfo sourceAssetModel,
  8. ModelInfo targetAssetModel,
  9. DateTime dateCreated,
  10. bool hasFootprints,
  11. bool footPrintsAreAligned,
  12. List<Entity> lostEntities = const [],
  13. List<Entity> foundEntities = const [],
  14. List<EntityMappingInfo> mappedEntities = const [],
  15. List<EntityMatchInfo> candidateMatches = const [],
  16. List<MappingMessageInfo> messages = const [],
})

Returns a new ModelMapping instance.

Implementation

ModelMapping({
  this.mappingId,
  this.sourceAssetModelId,
  this.targetAssetModelId,
  this.createdByAssetModelId,
  this.createdByContactId,
  this.createdBy,
  this.sourceAssetModel,
  this.targetAssetModel,
  this.dateCreated,
  this.hasFootprints,
  this.footPrintsAreAligned,
  this.lostEntities = const [],
  this.foundEntities = const [],
  this.mappedEntities = const [],
  this.candidateMatches = const [],
  this.messages = const [],
});