checkInternetConnection method

Future<List<INetResult>> checkInternetConnection()

Checks the internet connection status by invoking the appropriate method on the platform interface.

This method interacts with the native platform (Android/iOS) to check if the device is connected to the internet. It returns a list of INetResult objects based on the connection status provided by the native platform.

Implementation

Future<List<INetResult>> checkInternetConnection() {
  return EpayPlatformInterface.instance.checkInternetConnection();
}