toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotations != null) 'annotations': annotations!,
if (lineItemId != null) 'lineItemId': lineItemId!,
if (operationId != null) 'operationId': operationId!,
if (productId != null) 'productId': productId!,
};