copyWith method

StorageStatisticsByChat copyWith({
  1. int? chatId,
  2. int? size,
  3. int? count,
  4. List<StorageStatisticsByFileType>? byFileType,
})

Implementation

StorageStatisticsByChat copyWith({
  int? chatId,
  int? size,
  int? count,
  List<StorageStatisticsByFileType>? byFileType,
}) => StorageStatisticsByChat(
  chatId: chatId ?? this.chatId,
  size: size ?? this.size,
  count: count ?? this.count,
  byFileType: byFileType ?? this.byFileType,
);