Issue constructor

Issue({
  1. List<EntityBase> affectedEntities = const [],
  2. List<DocumentInfo> documents = const [],
  3. List<Object> documentEntities = const [],
  4. List<IssueInfo> issues = const [],
  5. List<EntityContact> contacts = const [],
  6. EntityContact createdBy,
  7. EntityContact modifiedBy,
  8. List<AttributeValue> attributes = const [],
  9. Footprint footprint,
  10. List<EntityMappingInfo> mappedFrom = const [],
  11. List<EntityMappingInfo> mappedTo = const [],
  12. IfcType ifcType,
  13. Map<String, Object> dynamicProperties = const {},
  14. int assetModelId,
  15. int entityId,
  16. String name,
  17. String description,
  18. String externalIdentifier,
  19. String externalObjectType,
  20. String externalObjectName,
  21. ModelInfo model,
  22. String modelName,
  23. DateTime dateCreated,
  24. DateTime dateModified,
})

Returns a new Issue instance.

Implementation

Issue({
  this.affectedEntities = const [],
  this.documents = const [],
  this.documentEntities = const [],
  this.issues = const [],
  this.contacts = const [],
  this.createdBy,
  this.modifiedBy,
  this.attributes = const [],
  this.footprint,
  this.mappedFrom = const [],
  this.mappedTo = const [],
  this.ifcType,
  this.dynamicProperties = const {},
  this.assetModelId,
  this.entityId,
  this.name,
  this.description,
  this.externalIdentifier,
  this.externalObjectType,
  this.externalObjectName,
  this.model,
  this.modelName,
  this.dateCreated,
  this.dateModified,
});