ModelProperty.create constructor
ModelProperty.create(
- IdUid id,
- String? name,
- int? type, {
- int flags = 0,
- String? indexId,
- ModelEntity? entity,
- String? dartFieldType,
- String? relationTarget,
- bool uidRequest = false,
- 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);
}