ReferencedModelX extension
Methods
-
copyWith(
{String? id, DataRefModel? ref}) → ReferencedModel -
Available on ReferencedModel, provided by the ReferencedModelX extension
Creates a copy of this instance, replacing the specified fields. -
copyWithout(
{bool id = true, bool ref = true}) → ReferencedModel -
Available on ReferencedModel, provided by the ReferencedModelX extension
Creates a copy of this instance, removing the specified fields. -
mergeWith(
BaseModel? other, {bool deepMerge = false}) → ReferencedModel -
Available on ReferencedModel, provided by the ReferencedModelX extension
Creates a copy of this instance, merging another model's fields into this model's fields.