UplinkSpectrumConfig.fromJson constructor

UplinkSpectrumConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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