query static method

Future<DictionaryEntry?> query(
  1. String term,
  2. Map<String, String> apiKeys, {
  3. Language language = Language.en_US,
  4. bool strictMatch = false,
  5. Iterable<String>? fields,
  6. Iterable<String>? registers,
  7. Iterable<String>? grammaticalFeatures,
  8. PartOfSpeech? lexicalCategory,
  9. Iterable<String>? domains,
})

Queries the EntriesEndpoint for a DictionaryEntry for the term and optional parameters.

Implementation

static Future<DictionaryEntry?> query(
        String term, Map<String, String> apiKeys,
        {Language language = Language.en_US,
        bool strictMatch = false,
        Iterable<String>? fields,
        Iterable<String>? registers,
        Iterable<String>? grammaticalFeatures,
        PartOfSpeech? lexicalCategory,
        Iterable<String>? domains}) =>
    EntriesEndpoint._(term, apiKeys, language, strictMatch, fields, registers,
            grammaticalFeatures, lexicalCategory, domains)
        .get();