Job constructor

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

Returns a new Job instance.

Implementation

Job({
  this.componentTypeName,
  this.componentType,
  this.priorJobs = const [],
  this.followingJobs = const [],
  this.resources = 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,
});