CarrierData.fromMap constructor

CarrierData.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory CarrierData.fromMap(Map<String, dynamic> map) {
  return CarrierData(
    allowsVOIP: map['allowsVOIP'],
    carrierName: map['carrierName'],
    isoCountryCode: map['isoCountryCode'],
    mobileCountryCode: map['mobileCountryCode'],
    mobileNetworkCode: map['mobileNetworkCode'],
    mobileNetworkOperator: map['mobileNetworkOperator'],
    networkGeneration: map['networkGeneration'],
    radioType: map['radioType'],
    cid: map['cid'],
    lac: map['lac'],
  );
}