16 lines
344 B
Dart
16 lines
344 B
Dart
import 'package:get/get.dart';
|
|
import 'package:school_asignment_app/common/store/user_store.dart';
|
|
|
|
import 'home_state.dart';
|
|
|
|
class HomeLogic extends GetxController {
|
|
final HomeState state = HomeState();
|
|
|
|
@override
|
|
void onInit(){
|
|
super.onInit();
|
|
state.userInfo = UserStore.to.userInfo;
|
|
print(state.userInfo.value.obs);
|
|
}
|
|
}
|