copyWith method
Implementation
Audio copyWith(
{String? path,
String? package,
AudioType? audioType,
Metas? metas,
double? playSpeed,
Map<String, String>? headers,
bool? cached,
DrmConfiguration? drmConfiguration}) {
return Audio._(
path: path ?? this.path,
package: package ?? this.package,
audioType: audioType ?? this.audioType,
metas: metas ?? _metas,
headers: headers ?? _networkHeaders,
playSpeed: playSpeed ?? this.playSpeed,
cached: cached ?? this.cached,
drmConfiguration: drmConfiguration ?? this.drmConfiguration);
}