getConnectivityStatus method

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

Implementation

Future<bool> getConnectivityStatus({required BuildContext currentContext}) {
  return currentContext
      .read<ConnectivityController>()
      .getConnectivityStatus();
}