cancelByScannedTicket static method
Cancel Scan QRCode
Implementation
static Future<AuthResult> cancelByScannedTicket(String qrcodeId) async {
Map map = {};
map.putIfAbsent('qrcodeId', () => qrcodeId);
map.putIfAbsent('action', () => 'CANCEL');
final Result result =
await post('/api/v3/change-qrcode-status', jsonEncode(map));
return AuthResult(result);
}