copyWith method

AudioCue copyWith({
  1. String? id,
  2. String? name,
  3. String? url,
  4. Uint8List? bytes,
})

Implementation

AudioCue copyWith({
  String? id,
  String? name,
  String? url,
  Uint8List? bytes,
}) {
  return AudioCue(
    url: url ?? this.url,
    name: name ?? this.name,
    bytes: bytes ?? this.bytes,
  );
}