imagesToExport property

Map<Field, File> imagesToExport

List of images to export to Anki.

Implementation

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

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

  return exportFiles;
}