copyWith method

GetReceivedGifts copyWith({
  1. String? businessConnectionId,
  2. MessageSender? ownerId,
  3. int? collectionId,
  4. bool? excludeUnsaved,
  5. bool? excludeSaved,
  6. bool? excludeUnlimited,
  7. bool? excludeUpgradable,
  8. bool? excludeNonUpgradable,
  9. bool? excludeUpgraded,
  10. bool? excludeWithoutColors,
  11. bool? excludeHosted,
  12. bool? sortByPrice,
  13. String? offset,
  14. int? limit,
})

Implementation

GetReceivedGifts copyWith({
  String? businessConnectionId,
  MessageSender? ownerId,
  int? collectionId,
  bool? excludeUnsaved,
  bool? excludeSaved,
  bool? excludeUnlimited,
  bool? excludeUpgradable,
  bool? excludeNonUpgradable,
  bool? excludeUpgraded,
  bool? excludeWithoutColors,
  bool? excludeHosted,
  bool? sortByPrice,
  String? offset,
  int? limit,
}) => GetReceivedGifts(
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  ownerId: ownerId ?? this.ownerId,
  collectionId: collectionId ?? this.collectionId,
  excludeUnsaved: excludeUnsaved ?? this.excludeUnsaved,
  excludeSaved: excludeSaved ?? this.excludeSaved,
  excludeUnlimited: excludeUnlimited ?? this.excludeUnlimited,
  excludeUpgradable: excludeUpgradable ?? this.excludeUpgradable,
  excludeNonUpgradable: excludeNonUpgradable ?? this.excludeNonUpgradable,
  excludeUpgraded: excludeUpgraded ?? this.excludeUpgraded,
  excludeWithoutColors: excludeWithoutColors ?? this.excludeWithoutColors,
  excludeHosted: excludeHosted ?? this.excludeHosted,
  sortByPrice: sortByPrice ?? this.sortByPrice,
  offset: offset ?? this.offset,
  limit: limit ?? this.limit,
);