toMap method
returns the sim data models as a Map
Implementation
Map<String, dynamic> toMap() {
return {
"carrierName": carrierName,
"isESIM": isESIM,
"subscriptionId": subscriptionId,
"simSlotIndex": simSlotIndex,
"cardId": cardId,
"phoneNumber": phoneNumber,
"displayName": displayName,
"countryCode": countryCode,
};
}