copyWith method

DraftMessageContentVideoNote copyWith({
  1. String? filePath,
  2. int? duration,
  3. int? length,
  4. MessageSelfDestructType? selfDestructType,
})

Implementation

DraftMessageContentVideoNote copyWith({
  String? filePath,
  int? duration,
  int? length,
  MessageSelfDestructType? selfDestructType,
}) =>
    DraftMessageContentVideoNote(
      filePath: filePath ?? this.filePath,
      duration: duration ?? this.duration,
      length: length ?? this.length,
      selfDestructType: selfDestructType ?? this.selfDestructType,
    );