copyWith method

AlternativeVideo copyWith({
  1. int? id,
  2. int? width,
  3. int? height,
  4. String? codec,
  5. File? hlsFile,
  6. File? video,
})

Implementation

AlternativeVideo copyWith({
  int? id,
  int? width,
  int? height,
  String? codec,
  File? hlsFile,
  File? video,
}) =>
    AlternativeVideo(
      id: id ?? this.id,
      width: width ?? this.width,
      height: height ?? this.height,
      codec: codec ?? this.codec,
      hlsFile: hlsFile ?? this.hlsFile,
      video: video ?? this.video,
    );