copyWith method

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

Implementation

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