Gsm.fromJson constructor

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

Implementation

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