toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.band != null) {
data['band'] = this.band!.toJson();
}
data['bid'] = this.bid;
if (this.signalCDMA != null) {
data['signalCDMA'] = this.signalCDMA!.toJson();
}
data['connectionStatus'] = this.connectionStatus;
if (this.network != null) {
data['network'] = this.network!.toJson();
}
data['type'] = this.type;
return data;
}