writeFile method

Future<void> writeFile(
  1. String filename
)

Write the Wav to a file.

Convenience wrapper around write. See that method for details.

Implementation

Future<void> writeFile(String filename) async {
  await internalWriteFile(filename, write());
}