getFieldProperties method
Assign field properties from defined constant field
Implementation
SqfEntityFieldType getFieldProperties(SqfEntityField field, SqfEntityFieldType toField) {
return toField
..defaultValue = field.defaultValue
..isPrimaryKeyField = field.isPrimaryKeyField
..isIndex = field.isIndex
..isIndexGroup = field.isIndexGroup
..isUnique = field.isUnique
..isNotNull = field.isNotNull
..checkCondition = field.checkCondition
..collate = field.collate
..formLabelText = field.formLabelText
..sequencedBy = field.sequencedBy == null ? null : toSequence(field.sequencedBy!);
}