copyWith method
DraftMessageContentVideoNote
copyWith({
- String? filePath,
- int? duration,
- int? length,
- 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,
);