BarcodeWifi.fromJson constructor

BarcodeWifi.fromJson(
  1. Map json
)

Returns an instance of BarcodeWifi from a given json.

Implementation

factory BarcodeWifi.fromJson(Map<dynamic, dynamic> json) => BarcodeWifi(
      ssid: json['ssid'],
      password: json['password'],
      encryptionType: json['encryption'],
    );