copyWith method
ReceivedGifts
copyWith({
- int? totalCount,
- List<
ReceivedGift> ? gifts, - bool? areNotificationsEnabled,
- String? nextOffset,
Implementation
ReceivedGifts copyWith({
int? totalCount,
List<ReceivedGift>? gifts,
bool? areNotificationsEnabled,
String? nextOffset,
}) => ReceivedGifts(
totalCount: totalCount ?? this.totalCount,
gifts: gifts ?? this.gifts,
areNotificationsEnabled:
areNotificationsEnabled ?? this.areNotificationsEnabled,
nextOffset: nextOffset ?? this.nextOffset,
);