copyWith method

  1. @override
PushMessageContentMediaAlbum copyWith({
  1. int? totalCount,
  2. bool? hasPhotos,
  3. bool? hasVideos,
  4. bool? hasAudios,
  5. bool? hasDocuments,
})
override

Implementation

@override
PushMessageContentMediaAlbum copyWith({
  int? totalCount,
  bool? hasPhotos,
  bool? hasVideos,
  bool? hasAudios,
  bool? hasDocuments,
}) => PushMessageContentMediaAlbum(
  totalCount: totalCount ?? this.totalCount,
  hasPhotos: hasPhotos ?? this.hasPhotos,
  hasVideos: hasVideos ?? this.hasVideos,
  hasAudios: hasAudios ?? this.hasAudios,
  hasDocuments: hasDocuments ?? this.hasDocuments,
);