toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  if (bandTDSCDMA != null) {
    data['bandTDSCDMA'] = bandTDSCDMA!.toJson();
  }
  if (signalTDSCDMA != null) {
    data['signalTDSCDMA'] = signalTDSCDMA!.toJson();
  }
  data['connectionStatus'] = connectionStatus;
  if (network != null) {
    data['network'] = network!.toJson();
  }
  data['type'] = type;
  return data;
}