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