ModelProperty.create constructor

ModelProperty.create(
  1. IdUid id,
  2. String? name,
  3. int? type, {
  4. int flags = 0,
  5. String? indexId,
  6. ModelEntity? entity,
  7. String? dartFieldType,
  8. String? relationTarget,
  9. bool uidRequest = false,
  10. PropertyType? dartType,
})

Implementation

ModelProperty.create(
  this.id,
  String? name,
  int? type, {
  int flags = 0,
  String? indexId,
  this.entity,
  String? dartFieldType,
  this.relationTarget,
  this.uidRequest = false,
  this.dartType,
}) : _dartFieldType = dartFieldType {
  this.name = name;
  this.type = type;
  this.flags = flags;
  this.indexId = indexId == null ? null : IdUid.fromString(indexId);
}