getMappingFromLabel method

AnkiMapping? getMappingFromLabel(
  1. String label
)

Get a mapping with a given mapping name.

Implementation

AnkiMapping? getMappingFromLabel(String label) {
  return _database.ankiMappings.where().labelEqualTo(label).findFirstSync();
}