FieldModelX extension
- on
Methods
-
copyWith(
{Object? fieldPath, dynamic fieldType, bool? nullable, List< Map< ? children, bool? primaryKey, bool? foreignKey, String? description, Object? references, String? columnDefault}) → FieldModelString, dynamic> > -
Available on FieldModel, provided by the FieldModelX extension
Creates a copy of this instance, replacing the specified fields. -
copyWithout(
{bool fieldPath = true, bool fieldType = true, bool nullable = true, bool children = true, bool primaryKey = true, bool foreignKey = true, bool description = true, bool references = true, bool columnDefault = true}) → FieldModel -
Available on FieldModel, provided by the FieldModelX extension
Creates a copy of this instance, removing the specified fields. -
mergeWith(
BaseModel? other, {bool deepMerge = false}) → FieldModel -
Available on FieldModel, provided by the FieldModelX extension
Creates a copy of this instance, merging another model's fields into this model's fields.