18 lines
454 B
Dart
18 lines
454 B
Dart
import 'package:get/get.dart';
|
|
import 'package:rasadyar_app/domain/repository/user/user_repository.dart';
|
|
import 'package:rasadyar_app/infrastructure/di/di.dart';
|
|
|
|
class UserService extends GetxService {
|
|
late IUserRepository _userLocalStorage;
|
|
|
|
@override
|
|
void onInit() {
|
|
return super.onInit();
|
|
// _userLocalStorage = di.get<UserRepository>();
|
|
}
|
|
|
|
Future<bool> isUserAuthed() async {
|
|
return await _userLocalStorage.userAuthed();
|
|
}
|
|
}
|