toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.bandGSM != null) {
    data['bandGSM'] = this.bandGSM!.toJson();
  }
  if (this.signalGSM != null) {
    data['signalGSM'] = this.signalGSM!.toJson();
  }
  data['connectionStatus'] = this.connectionStatus;
  if (this.network != null) {
    data['network'] = this.network!.toJson();
  }
  data['type'] = this.type;
  data['cid'] = this.cid;
  data['bsic'] = this.bsic;
  data['lac'] = this.lac;
  data['ncc'] = this.ncc;
  data['bcc'] = this.bcc;
  data['cgi '] = this.cgi;
  return data;
}