internalWriteFile function
Internal detail. Write a file as bytes. This function only exists so we can override it with a fake version in wav_no_io.dart.
Implementation
Future<void> internalWriteFile(String filename, Uint8List bytes) {
return File(filename).writeAsBytes(bytes);
}