WiFi.fromNative constructor

WiFi.fromNative(
  1. Map data
)

Create a WiFi from native data.

Implementation

WiFi.fromNative(Map data)
    : encryptionType = EncryptionType.values[data['encryptionType'] as int],
      ssid = data['ssid'] as String?,
      password = data['password'] as String?;