loginByScannedTicket static method
Login by QRCode
Implementation
static Future<AuthResult> loginByScannedTicket(String ticket) async {
Map map = {};
map.putIfAbsent('ticket', () => ticket);
final Result result = await post(
'/api/v3/exchange-tokenset-with-qrcode-ticket', jsonEncode(map));
return AuthResult(result);
}