onReady method
override
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
Implementation
@override
void onReady() {
super.onReady();
final auth = Get.find<AuthenticationController>();
if (auth.userProfileModel.value.data != null &&
auth.mySubscription != null &&
auth.currentSubscription.id!.isNotEmpty &&
!auth.isSubscriptionExpired) {
getNeoMilesWallet();
}
}