Gsm.fromJson constructor

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

Implementation

Gsm.fromJson(Map<String, dynamic> json) {
  bandGSM =
      json['bandGSM'] != null ? new BandGSM.fromJson(json['bandGSM']) : null;
  signalGSM = json['signalGSM'] != null
      ? new SignalGSM.fromJson(json['signalGSM'])
      : null;
  connectionStatus = json['connectionStatus'];
  network =
      json['network'] != null ? new Network.fromJson(json['network']) : null;
  type = json['type'];
  cid = json['cid'];
  lac = json['lac'];
  bsic = json['bsic'];
  ncc = json['ncc'];
  bcc = json['bcc'];
  cgi = json['cgi'];
}