claimVictory abstract method
- @override
- @POST('/api/board/game/{gameId}/claim-victory')
- @Path() String gameId
override
Claim victory when the opponent has left the game for a while.
Params:
gameId
Target game ID. Example:5IrD6Gzz
.
https://lichess.org/api#tag/Board/operation/boardGameClaimVictory
Implementation
@override
@POST('/api/board/game/{gameId}/claim-victory')
Future<void> claimVictory(@Path() String gameId);