tokenLogin method
Login into Wialon with the Access Token
Implementation
Future<Map<String, dynamic>> tokenLogin({required String token}) async {
dynamic result = await call(
method: 'token/login',
parameters: {'token': token},
);
_userId = result['user']['id'];
sessionId = result['eid'];
return result;
}