Model constructor
Model({
- List<
Object> entities = const [], - Object asset,
- Object segment,
- List<
AttributeDefinitionEntity> attributeDefinitions = const [], - List<
Object> spaces = const [], - List<
Object> components = const [], - List<
Object> componentTypes = const [], - List<
Object> levels = const [], - List<
Object> zones = const [], - List<
Object> facilities = const [], - List<
Object> documents = const [], - List<
Object> contacts = const [], - List<
Object> sites = const [], - List<
Application> applications = const [], - List<
ModelMapping> forwardMappings = const [], - List<
ModelMapping> reverseMappings = const [], - List<
Role> roles = const [], - UserPermissions permissions,
- ModelStateEnum state,
- int assetModelId,
- int assetId,
- String name,
- String revision,
- String status,
- bool isCurrent,
- String uploadedById,
- String segmentName,
- String segmentId,
- String assetName,
- String modelPath,
- int modelSize,
- double oneMeter,
- int originalAuthorId,
- DateTime dateUploaded,
- DateTime dateProcessed,
- int lastEntityId,
- String processingStage,
- String processingStatus,
Returns a new Model instance.
Implementation
Model({
this.entities = const [],
this.asset,
this.segment,
this.attributeDefinitions = const [],
this.spaces = const [],
this.components = const [],
this.componentTypes = const [],
this.levels = const [],
this.zones = const [],
this.facilities = const [],
this.documents = const [],
this.contacts = const [],
this.sites = const [],
this.applications = const [],
this.forwardMappings = const [],
this.reverseMappings = const [],
this.roles = const [],
this.permissions,
this.state,
this.assetModelId,
this.assetId,
this.name,
this.revision,
this.status,
this.isCurrent,
this.uploadedById,
this.segmentName,
this.segmentId,
this.assetName,
this.modelPath,
this.modelSize,
this.oneMeter,
this.originalAuthorId,
this.dateUploaded,
this.dateProcessed,
this.lastEntityId,
this.processingStage,
this.processingStatus,
});