loginByScannedTicket static method

Future<Result> loginByScannedTicket(
  1. String ticket
)

login by QR code

Implementation

static Future<Result> loginByScannedTicket(String ticket) async {
  return await post('/api/v2/qrcode/confirm', jsonEncode({'random': ticket}));
}