ProviderList.fromMap constructor
Implementation
factory ProviderList.fromMap(Map<String, dynamic> map) {
return ProviderList(
total: map['total'],
providers:
List<Provider>.from(map['providers'].map((p) => Provider.fromMap(p))),
);
}