copyWith method

SetTonWalletCardStickers copyWith({
  1. List<InputTonWalletCardSticker>? stickers,
  2. String? backgroundNftAddress,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

SetTonWalletCardStickers copyWith({
  List<InputTonWalletCardSticker>? stickers,
  String? backgroundNftAddress,
}) => SetTonWalletCardStickers(
  stickers: stickers ?? this.stickers,
  backgroundNftAddress: backgroundNftAddress ?? this.backgroundNftAddress,
);