import 'package:star_lock/tools/baseGetXController.dart'; import 'lockEscalation_state.dart'; class LockEscalationLogic extends BaseGetXController{ LockEscalationState state = LockEscalationState(); // 锁升级 Future setLockSetGeneralSetting() async{ // var entity = await ApiRepository.to.getLockVersionInfoData( // lockId: state.getKeyInfosData.value.lockId.toString(), // ); // if(entity.errorCode!.codeIsSuccessful){ // // } } @override void onReady() { // TODO: implement onReady super.onReady(); print("onReady()"); setLockSetGeneralSetting(); } @override void onInit() { // TODO: implement onInit super.onInit(); print("onInit()"); } @override void onClose() { // TODO: implement onClose } }