deleteGlossary method

Future<void> deleteGlossary(
  1. Glossary glossary, {
  2. String? token,
})

Delete a glossary. Parameters

  • glossary The glossary to delete.
  • token The token to use for authentication (optional if you have set a global token).

Implementation

Future<void> deleteGlossary(Glossary glossary, {String? token}) async {
  await httpClient.delete('/translate/glossary/${glossary.uuid}',
      token: token);
}