copyWith method

GiftSettings copyWith({
  1. bool? showGiftButton,
  2. AcceptedGiftTypes? acceptedGiftTypes,
})

Implementation

GiftSettings copyWith({
  bool? showGiftButton,
  AcceptedGiftTypes? acceptedGiftTypes,
}) =>
    GiftSettings(
      showGiftButton: showGiftButton ?? this.showGiftButton,
      acceptedGiftTypes: acceptedGiftTypes ?? this.acceptedGiftTypes,
    );