toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (brand != null) 'brand': brand!,
      if (certification != null) 'certification': certification!,
      if (countryCode != null) 'countryCode': countryCode!,
      if (destinationStatuses != null)
        'destinationStatuses': destinationStatuses!,
      if (issues != null) 'issues': issues!,
      if (mpn != null) 'mpn': mpn!,
      if (name != null) 'name': name!,
      if (productCode != null) 'productCode': productCode!,
      if (productType != null) 'productType': productType!,
      if (title != null) 'title': title!,
    };