SimInfo.fromJson constructor

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

Implementation

factory SimInfo.fromJson(Map<String, dynamic> json) {
  return SimInfo(
    carrierName: json['carrierName'],
    displayName: json['displayName'],
    slotIndex: json['slotIndex'].toString(),
    number: json['number'],
    countryIso: json['countryIso'],
    countryPhonePrefix: json['countryPhonePrefix'],
  );
}