cancelVote method
Cancel a vote. Parameters
vote
The vote to cancel.token
The token to use for authentication (optional if you have set a global token).
Implementation
Future<void> cancelVote(TranslationVote vote, {String? token}) async {
await httpClient.delete('/translate/vote/${vote.uuid}');
}