WifiState constructor

WifiState({
  1. required bool isEnabled,
  2. required bool isConnected,
  3. String? connectedWifiName,
})

Constructs a WifiState object with the specified Wi-Fi state information.

Implementation

WifiState({
  required this.isEnabled,
  required this.isConnected,
  this.connectedWifiName,
});