copyWith method

ChatPhotos copyWith({
  1. int? totalCount,
  2. List<ChatPhoto>? photos,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

ChatPhotos copyWith({
  int? totalCount,
  List<ChatPhoto>? photos,
  dynamic extra,
  int? clientId,
}) => ChatPhotos(
  totalCount: totalCount ?? this.totalCount,
  photos: photos ?? this.photos,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);