toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (airplaneModeState != null) 'airplaneModeState': airplaneModeState!,
      if (cellularTwoGState != null) 'cellularTwoGState': cellularTwoGState!,
      if (minimumWifiSecurityLevel != null)
        'minimumWifiSecurityLevel': minimumWifiSecurityLevel!,
      if (ultraWidebandState != null)
        'ultraWidebandState': ultraWidebandState!,
      if (wifiState != null) 'wifiState': wifiState!,
    };