getSessions method
Returns all active sessions for the current user.
Implementation
Future<List<AuthSession>> getSessions() async {
try {
return await _authService.getSessions();
} on DioException catch (e) {
_handleError(e);
return [];
}
}