toJson method
Implementation
Map<String, dynamic> toJson() {
final antennaDownlinkConfig = this.antennaDownlinkConfig;
final antennaDownlinkDemodDecodeConfig =
this.antennaDownlinkDemodDecodeConfig;
final antennaUplinkConfig = this.antennaUplinkConfig;
final dataflowEndpointConfig = this.dataflowEndpointConfig;
final trackingConfig = this.trackingConfig;
final uplinkEchoConfig = this.uplinkEchoConfig;
return {
if (antennaDownlinkConfig != null)
'antennaDownlinkConfig': antennaDownlinkConfig,
if (antennaDownlinkDemodDecodeConfig != null)
'antennaDownlinkDemodDecodeConfig': antennaDownlinkDemodDecodeConfig,
if (antennaUplinkConfig != null)
'antennaUplinkConfig': antennaUplinkConfig,
if (dataflowEndpointConfig != null)
'dataflowEndpointConfig': dataflowEndpointConfig,
if (trackingConfig != null) 'trackingConfig': trackingConfig,
if (uplinkEchoConfig != null) 'uplinkEchoConfig': uplinkEchoConfig,
};
}