toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (categoryHierarchies != null)
        'categoryHierarchies': categoryHierarchies!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (itemAttributes != null) 'itemAttributes': itemAttributes!,
      if (itemGroupId != null) 'itemGroupId': itemGroupId!,
      if (languageCode != null) 'languageCode': languageCode!,
      if (productMetadata != null) 'productMetadata': productMetadata!,
      if (tags != null) 'tags': tags!,
      if (title != null) 'title': title!,
    };