audioToExport property

Map<Field, File> audioToExport

List of audio to export to Anki.

Implementation

Map<Field, File> get audioToExport {
  Map<Field, File> exportFiles = {};

  for (Field field in globalFields) {
    if (field is AudioExportField) {
      if (field.exportFile != null) {
        exportFiles[field] = field.exportFile!;
      }
    }
  }

  return exportFiles;
}