DeviceRadioState.fromJson constructor

DeviceRadioState.fromJson(
  1. Map json_
)

Implementation

DeviceRadioState.fromJson(core.Map json_)
    : this(
        airplaneModeState: json_.containsKey('airplaneModeState')
            ? json_['airplaneModeState'] as core.String
            : null,
        cellularTwoGState: json_.containsKey('cellularTwoGState')
            ? json_['cellularTwoGState'] as core.String
            : null,
        minimumWifiSecurityLevel:
            json_.containsKey('minimumWifiSecurityLevel')
                ? json_['minimumWifiSecurityLevel'] as core.String
                : null,
        ultraWidebandState: json_.containsKey('ultraWidebandState')
            ? json_['ultraWidebandState'] as core.String
            : null,
        wifiState: json_.containsKey('wifiState')
            ? json_['wifiState'] as core.String
            : null,
      );