toJson method

Map<String, dynamic> toJson()

Implementation

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