fromJson static method
Implementation
static SimInfo fromJson(data) {
return SimInfo(data != null && data is List
? data.map<SimCard>((_card) => SimCard.fromJson(_card)).toList()
: []);
}
static SimInfo fromJson(data) {
return SimInfo(data != null && data is List
? data.map<SimCard>((_card) => SimCard.fromJson(_card)).toList()
: []);
}