getWifiSubmask method

Future<String?> getWifiSubmask()

Returns the current Wi-Fi subnet mask.

Implementation

Future<String?> getWifiSubmask() async {
  try {
    return await _networkInfo.getWifiSubmask();
  } on PlatformException catch (e) {
    throw PlatformException(
        code: 'Failed to get Wifi Submask',
        message: e.message,
        details: e.details);
  }
}