SpectrumConfig.fromJson constructor
Implementation
factory SpectrumConfig.fromJson(Map<String, dynamic> json) {
return SpectrumConfig(
bandwidth: FrequencyBandwidth.fromJson(
json['bandwidth'] as Map<String, dynamic>),
centerFrequency:
Frequency.fromJson(json['centerFrequency'] as Map<String, dynamic>),
polarization: (json['polarization'] as String?)?.toPolarization(),
);
}