toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.bandWCDMA != null) {
    data['bandWCDMA'] = this.bandWCDMA!.toJson();
  }
  if (this.signalWCDMA != null) {
    data['signalWCDMA'] = this.signalWCDMA!.toJson();
  }
  data['connectionStatus'] = this.connectionStatus;
  if (this.network != null) {
    data['network'] = this.network!.toJson();
  }
  data['type'] = this.type;
  data['ci'] = this.ci;
  data['lac'] = this.lac;
  data['psc'] = this.psc;
  data['cid'] = this.cid;
  data['rnc'] = this.rnc;
  data['cgi'] = this.cgi;
  return data;
}