copyWithout method
Creates a copy of this instance, removing the specified fields.
Implementation
FieldModel copyWithout({
bool fieldPath = true,
bool fieldType = true,
bool nullable = true,
bool children = true,
bool primaryKey = true,
bool foreignKey = true,
bool fallback = true,
bool description = true,
}) {
return FieldModel.assertRequired(
fieldPath: fieldPath ? this.fieldPath : null,
fieldType: fieldType ? this.fieldType : null,
nullable: nullable ? this.nullable : null,
children: children ? this.children : null,
primaryKey: primaryKey ? this.primaryKey : null,
foreignKey: foreignKey ? this.foreignKey : null,
fallback: fallback ? this.fallback : null,
description: description ? this.description : null,
);
}