copyWith method

  1. @override
PushMessageContentVideo copyWith({
  1. Video? video,
  2. String? caption,
  3. bool? isSecret,
  4. bool? isPinned,
})
override

Implementation

@override
PushMessageContentVideo copyWith({
  Video? video,
  String? caption,
  bool? isSecret,
  bool? isPinned,
}) => PushMessageContentVideo(
  video: video ?? this.video,
  caption: caption ?? this.caption,
  isSecret: isSecret ?? this.isSecret,
  isPinned: isPinned ?? this.isPinned,
);