AnkiMapping constructor

AnkiMapping(
  1. {required String label,
  2. required String model,
  3. required List<String?> exportFieldKeys,
  4. required List<String> creatorFieldKeys,
  5. required List<String> creatorCollapsedFieldKeys,
  6. required int order,
  7. required List<String> tags,
  8. required bool? exportMediaTags,
  9. required bool? useBrTags,
  10. required bool? prependDictionaryNames,
  11. Map<String, Map<int, String>>? enhancements,
  12. Map<int, String>? actions,
  13. Id? id}
)

Initialise a model mapping with the given parameters.

Implementation

AnkiMapping({
  required this.label,
  required this.model,
  required this.exportFieldKeys,
  required this.creatorFieldKeys,
  required this.creatorCollapsedFieldKeys,
  required this.order,
  required this.tags,
  required this.exportMediaTags,
  required this.useBrTags,
  required this.prependDictionaryNames,
  this.enhancements,
  this.actions,
  this.id,
});