WifiSsidPolicy.fromJson constructor

WifiSsidPolicy.fromJson(
  1. Map json_
)

Implementation

WifiSsidPolicy.fromJson(core.Map json_)
    : this(
        wifiSsidPolicyType: json_.containsKey('wifiSsidPolicyType')
            ? json_['wifiSsidPolicyType'] as core.String
            : null,
        wifiSsids: json_.containsKey('wifiSsids')
            ? (json_['wifiSsids'] as core.List)
                .map((value) => WifiSsid.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );