WiFi.fromNative constructor
Construct a new WiFi instance from the given data
.
Implementation
factory WiFi.fromNative(Map<Object?, Object?> data) {
return WiFi(
encryptionType: EncryptionType.fromRawValue(
data['encryptionType'] as int? ?? 0,
),
ssid: data['ssid'] as String?,
password: data['password'] as String?,
);
}