mergeWith abstract method

BaseModel mergeWith(
  1. BaseModel? other, {
  2. bool deepMerge = false,
})

Returns a new copy of the BaseModel with the fields updated from the other BaseModel. Set deepMerge to true to merge nested objects.

Implementation

BaseModel mergeWith(BaseModel? other, {bool deepMerge = false});