copyWith method
✅ Add copyWith method
Implementation
Mapping copyWith({
String? dataType,
dynamic sourceValue,
String? sourceField,
String? targetField,
String? type,
}) {
return Mapping(
dataType: dataType ?? this.dataType,
sourceValue: sourceValue ?? this.sourceValue,
sourceField: sourceField ?? this.sourceField,
targetField: targetField ?? this.targetField,
type: type ?? this.type,
);
}