toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "contents": contents == null ? null : contents,
      "accumulatedDeltaRangeMeters": accumulatedDeltaRangeMeters == null
          ? null
          : accumulatedDeltaRangeMeters,
      "accumulatedDeltaRangeState": accumulatedDeltaRangeState == null
          ? null
          : accumulatedDeltaRangeState,
      "accumulatedDeltaRangeUncertaintyMeters":
          accumulatedDeltaRangeUncertaintyMeters == null
              ? null
              : accumulatedDeltaRangeUncertaintyMeters,
      "automaticGainControlLevelDb": automaticGainControlLevelDb == null
          ? null
          : automaticGainControlLevelDb,
      "carrierFrequencyHz":
          carrierFrequencyHz == null ? null : carrierFrequencyHz,
      "cn0DbHz": cn0DbHz == null ? null : cn0DbHz,
      "constellationType":
          constellationType == null ? null : constellationType,
      "multipathIndicator":
          multipathIndicator == null ? null : multipathIndicator,
      "pseudorangeRateMetersPerSecond": pseudorangeRateMetersPerSecond == null
          ? null
          : pseudorangeRateMetersPerSecond,
      "pseudorangeRateUncertaintyMetersPerSecond":
          pseudorangeRateUncertaintyMetersPerSecond == null
              ? null
              : pseudorangeRateUncertaintyMetersPerSecond,
      "receivedSvTimeNanos":
          receivedSvTimeNanos == null ? null : receivedSvTimeNanos,
      "receivedSvTimeUncertaintyNanos": receivedSvTimeUncertaintyNanos == null
          ? null
          : receivedSvTimeUncertaintyNanos,
      "snrInDb": snrInDb == null ? null : snrInDb,
      "state": state == null ? null : state,
      "svid": svid == null ? null : svid,
      "timeOffsetNanos": timeOffsetNanos == null ? null : timeOffsetNanos,
      "string": string == null ? null : string,
    };