copyWith method

ToggleGiftIsSaved copyWith({
  1. String? receivedGiftId,
  2. bool? isSaved,
})

Implementation

ToggleGiftIsSaved copyWith({String? receivedGiftId, bool? isSaved}) =>
    ToggleGiftIsSaved(
      receivedGiftId: receivedGiftId ?? this.receivedGiftId,
      isSaved: isSaved ?? this.isSaved,
    );