Glossaries class

Endppoint for handling glossary related functions.

Inheritance

Constructors

Glossaries.new(DeepLApi api)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create({required String name, required LanguagePair languagePair, required Map<String, String> glossaryEntries, required GlossaryFormat glossaryFormat}) Future<Glossary>
Creates a Glossary
delete(String id) Future<void>
get(String id) Future<Glossary>
Retrieves the glossary through its id, without the glossary entries
getEntries(String id) Future<Map<String, String>>
Retrieves the entries from id.
list() Future<Iterable<Glossary>>
List all glossaries and their meta-information, without the glossary entries.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
supportedLanguagePairs() Future<Iterable<LanguagePair>>
Retrieve the list of LanguagePairs supported by the glossary feature.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited