MarketplaceAccountsResponse.fromMap constructor

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

Implementation

factory MarketplaceAccountsResponse.fromMap(Map<String, dynamic> map) {
  return MarketplaceAccountsResponse(
    totalItems: map['totalItems'],
    accounts: List<MarketPlaceAccountItem>.from(map['items']?.map((x) => MarketPlaceAccountItem.fromMap(x))),
  );
}