DataRefModelX extension

on

Methods

copyWith({String? id, List<String>? collection}) DataRefModel

Available on DataRefModel, provided by the DataRefModelX extension

Creates a copy of this instance, replacing the specified fields.
copyWithout({bool id = true, bool collection = true}) DataRefModel

Available on DataRefModel, provided by the DataRefModelX extension

Creates a copy of this instance, removing the specified fields.
mergeWith(BaseModel? other, {bool deepMerge = false}) DataRefModel

Available on DataRefModel, provided by the DataRefModelX extension

Creates a copy of this instance, merging another model's fields into this model's fields.