CollectionPatch class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
patchMap
→ Map<
Collection$, dynamic> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyTo(
Collection entity) → Collection - Applies this patch to the given entity
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toPatch(
) → Map< Collection$, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateAssetsAt(
int index, AssetPatch patch(AssetPatch)) → CollectionPatch -
updateBreadcrumbsAt(
int index, CollectionBreadcrumbPatch patch(CollectionBreadcrumbPatch)) → CollectionPatch -
updateChildrenAt(
int index, CollectionPatch patch(CollectionPatch)) → CollectionPatch -
updateFiltersAt(
int index, ConfigurableOperationPatch patch(ConfigurableOperationPatch)) → CollectionPatch -
updateTranslationsAt(
int index, CollectionTranslationPatch patch(CollectionTranslationPatch)) → CollectionPatch -
withAssets(
List< Asset> ? value) → CollectionPatch -
withBreadcrumbs(
List< CollectionBreadcrumb> ? value) → CollectionPatch -
withChildren(
List< Collection> ? value) → CollectionPatch -
withCreatedAt(
DateTime? value) → CollectionPatch -
withCustomFields(
Map< String, dynamic> ? value) → CollectionPatch -
withDescription(
String? value) → CollectionPatch -
withFeaturedAsset(
Asset? value) → CollectionPatch -
withFeaturedAssetPatch(
AssetPatch patch) → CollectionPatch -
withFeaturedAssetPatchFunc(
AssetPatch patch(AssetPatch)) → CollectionPatch -
withFilters(
List< ConfigurableOperation> ? value) → CollectionPatch -
withId(
String? value) → CollectionPatch -
withLanguageCode(
LanguageCode? value) → CollectionPatch -
withName(
String? value) → CollectionPatch -
withParent(
Collection? value) → CollectionPatch -
withParentId(
String? value) → CollectionPatch -
withParentPatch(
CollectionPatch patch) → CollectionPatch -
withParentPatchFunc(
CollectionPatch patch(CollectionPatch)) → CollectionPatch -
withPosition(
int? value) → CollectionPatch -
withProductVariants(
ProductVariantList? value) → CollectionPatch -
withProductVariantsPatch(
ProductVariantListPatch patch) → CollectionPatch -
withProductVariantsPatchFunc(
ProductVariantListPatch patch(ProductVariantListPatch)) → CollectionPatch -
withSlug(
String? value) → CollectionPatch -
withTranslations(
List< CollectionTranslation> ? value) → CollectionPatch -
withUpdatedAt(
DateTime? value) → CollectionPatch
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited