hideNoInternet method

Future<bool> hideNoInternet({
  1. required BuildContext currentContext,
})

Implementation

Future<bool> hideNoInternet({required BuildContext currentContext}) async {
  return await currentContext
      .read<ConnectivityController>()
      .hideNoInternetScreen();
}