toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (dataSourceId != null) 'dataSourceId': dataSourceId!,
  if (displayName != null) 'displayName': displayName!,
  if (fileInput != null) 'fileInput': fileInput!,
  if (input != null) 'input': input!,
  if (localInventoryDataSource != null)
    'localInventoryDataSource': localInventoryDataSource!,
  if (merchantReviewDataSource != null)
    'merchantReviewDataSource': merchantReviewDataSource!,
  if (name != null) 'name': name!,
  if (primaryProductDataSource != null)
    'primaryProductDataSource': primaryProductDataSource!,
  if (productReviewDataSource != null)
    'productReviewDataSource': productReviewDataSource!,
  if (promotionDataSource != null)
    'promotionDataSource': promotionDataSource!,
  if (regionalInventoryDataSource != null)
    'regionalInventoryDataSource': regionalInventoryDataSource!,
  if (supplementalProductDataSource != null)
    'supplementalProductDataSource': supplementalProductDataSource!,
};