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