copyWith method

  1. @override
MessageVideoNote copyWith({
  1. VideoNote? videoNote,
  2. bool? isViewed,
  3. bool? isSecret,
})
override

Implementation

@override
MessageVideoNote copyWith({
  VideoNote? videoNote,
  bool? isViewed,
  bool? isSecret,
}) =>
    MessageVideoNote(
      videoNote: videoNote ?? this.videoNote,
      isViewed: isViewed ?? this.isViewed,
      isSecret: isSecret ?? this.isSecret,
    );