ModelProperty constructor

ModelProperty({
  1. required IdUid id,
  2. required String name,
  3. required int type,
  4. required int flags,
  5. IdUid? indexId,
  6. String? relationField,
  7. String? relationTarget,
  8. ModelHnswParams? hnswParams,
  9. String? externalName,
  10. int? externalType,
})

Implementation

ModelProperty(
    {required this.id,
    required String name,
    required int type,
    required int flags,
    IdUid? indexId,
    this.relationField,
    this.relationTarget,
    this.hnswParams,
    this.externalName,
    this.externalType})
    : _name = name,
      _type = type,
      _flags = flags,
      _indexId = indexId,
      uidRequest = false;