copyWith method

UMediaTrack copyWith({
  1. bool? isSelected,
})

Implementation

UMediaTrack copyWith({bool? isSelected}) => UMediaTrack(
  id: id,
  type: type,
  label: label,
  language: language,
  codec: codec,
  bitrate: bitrate,
  width: width,
  height: height,
  frameRate: frameRate,
  channels: channels,
  sampleRate: sampleRate,
  isDefault: isDefault,
  isForced: isForced,
  isSelected: isSelected ?? this.isSelected,
  isAuto: isAuto,
);