13 lines
479 B
Dart
13 lines
479 B
Dart
import 'package:mobile_monitoring/data/services/graph_service.dart';
|
|
import 'package:mobile_monitoring/logic/controllers/base_controller.dart';
|
|
|
|
class GraphController extends BaseController {
|
|
GraphController({GraphService? graphService})
|
|
: _graphService = graphService ?? GraphService();
|
|
|
|
final GraphService _graphService;
|
|
|
|
String? get currentUserId => _graphService.getCurrentUserIdResult().data;
|
|
bool get isAuthenticated => _graphService.isUserAuthenticated();
|
|
}
|