copyWith method
Returns a copy of this object with its field values replaced by the ones provided to this method.
copyOriginalValues
is true if you want to maintain the original object's
initial values. This is useful if you plan on using this object in a PUT
request.
Implementation
MatterFabricData copyWith({
String? label,
int? vendorId,
}) {
return MatterFabricData(
label: label ?? this.label,
vendorId: vendorId ?? this.vendorId,
);
}