copyWith method
AudioState
copyWith({
- AudioStatus? status,
- Duration? duration,
- Duration? position,
- double? velocity,
- String? audioId,
Implementation
AudioState copyWith({
AudioStatus? status,
Duration? duration,
Duration? position,
double? velocity,
String? audioId,
}) {
return AudioState(
status: status ?? this.status,
duration: duration ?? this.duration,
position: position ?? this.position,
velocity: velocity ?? this.velocity,
audioId: audioId ?? this.audioId,
);
}