copyWith method

GiftAuctionState copyWith({
  1. Gift? gift,
  2. AuctionState? state,
})

Implementation

GiftAuctionState copyWith({Gift? gift, AuctionState? state}) =>
    GiftAuctionState(gift: gift ?? this.gift, state: state ?? this.state);