toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectionState != null) 'connectionState': connectionState!,
      if (connectionType != null) 'connectionType': connectionType!,
      if (encryptionOn != null) 'encryptionOn': encryptionOn!,
      if (gatewayIpAddress != null) 'gatewayIpAddress': gatewayIpAddress!,
      if (guid != null) 'guid': guid!,
      if (lanIpAddress != null) 'lanIpAddress': lanIpAddress!,
      if (receivingBitRateMbps != null)
        'receivingBitRateMbps': receivingBitRateMbps!,
      if (reportTime != null) 'reportTime': reportTime!,
      if (sampleFrequency != null) 'sampleFrequency': sampleFrequency!,
      if (signalStrengthDbm != null) 'signalStrengthDbm': signalStrengthDbm!,
      if (transmissionBitRateMbps != null)
        'transmissionBitRateMbps': transmissionBitRateMbps!,
      if (transmissionPowerDbm != null)
        'transmissionPowerDbm': transmissionPowerDbm!,
      if (wifiLinkQuality != null) 'wifiLinkQuality': wifiLinkQuality!,
      if (wifiPowerManagementEnabled != null)
        'wifiPowerManagementEnabled': wifiPowerManagementEnabled!,
    };