FrequencyBandwidth.fromJson constructor

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

Implementation

factory FrequencyBandwidth.fromJson(Map<String, dynamic> json) {
  return FrequencyBandwidth(
    units: (json['units'] as String).toBandwidthUnits(),
    value: json['value'] as double,
  );
}