copyWithout method
Creates a copy of this instance, removing the specified fields.
Implementation
ReferencedModel copyWithout({
bool id = true,
bool ref = true,
}) {
return ReferencedModel.assertRequired(
id: id ? this.id : null,
ref: ref ? this.ref : null,
);
}