copyWith method

StorageStatistics copyWith({
  1. int? size,
  2. int? count,
  3. List<StorageStatisticsByChat>? byChat,
})

Implementation

StorageStatistics copyWith({
  int? size,
  int? count,
  List<StorageStatisticsByChat>? byChat,
}) => StorageStatistics(
  size: size ?? this.size,
  count: count ?? this.count,
  byChat: byChat ?? this.byChat,
);