copyWith method

Track copyWith({
  1. String? file,
  2. String? label,
  3. String? kind,
  4. bool? trackDefault,
})

Implementation

Track copyWith({
  String? file,
  String? label,
  String? kind,
  bool? trackDefault,
}) =>
    Track(
      file: file ?? this.file,
      label: label ?? this.label,
      kind: kind ?? this.kind,
      trackDefault: trackDefault ?? this.trackDefault,
    );