ModelEntity constructor

ModelEntity({
  1. required IdUid id,
  2. required String name,
  3. required IdUid lastPropertyId,
  4. required int flags,
  5. required List<ModelProperty> properties,
  6. required List<ModelRelation> relations,
  7. required List<ModelBacklink> backlinks,
})

Implementation

ModelEntity(
    {required this.id,
    required String name,
    required this.lastPropertyId,
    required int flags,
    required List<ModelProperty> properties,
    required List<ModelRelation> relations,
    required List<ModelBacklink> backlinks})
    : _name = name,
      _flags = flags,
      _properties = properties,
      _relations = relations,
      _backlinks = backlinks,
      _model = null,
      uidRequest = false;