toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final spectrumConfig = this.spectrumConfig;
  final targetEirp = this.targetEirp;
  final transmitDisabled = this.transmitDisabled;
  return {
    'spectrumConfig': spectrumConfig,
    'targetEirp': targetEirp,
    if (transmitDisabled != null) 'transmitDisabled': transmitDisabled,
  };
}