Connectivity.fromJson constructor
Connectivity.fromJson(
- Map json_
Implementation
Connectivity.fromJson(core.Map json_)
: this(
freeWifi: json_.containsKey('freeWifi')
? json_['freeWifi'] as core.bool
: null,
freeWifiException: json_.containsKey('freeWifiException')
? json_['freeWifiException'] as core.String
: null,
publicAreaWifiAvailable: json_.containsKey('publicAreaWifiAvailable')
? json_['publicAreaWifiAvailable'] as core.bool
: null,
publicAreaWifiAvailableException:
json_.containsKey('publicAreaWifiAvailableException')
? json_['publicAreaWifiAvailableException'] as core.String
: null,
publicInternetTerminal: json_.containsKey('publicInternetTerminal')
? json_['publicInternetTerminal'] as core.bool
: null,
publicInternetTerminalException:
json_.containsKey('publicInternetTerminalException')
? json_['publicInternetTerminalException'] as core.String
: null,
wifiAvailable: json_.containsKey('wifiAvailable')
? json_['wifiAvailable'] as core.bool
: null,
wifiAvailableException: json_.containsKey('wifiAvailableException')
? json_['wifiAvailableException'] as core.String
: null,
);