core.Map<core.String, core.dynamic> toJson() => { if (duplicateLineItemId != null) 'duplicateLineItemId': duplicateLineItemId!, };