parseAdNetworkIds static method

Map<String, AdNetworkIds>? parseAdNetworkIds(
  1. Map adNetworkIds
)

Implementation

static Map<String, AdNetworkIds>? parseAdNetworkIds(Map adNetworkIds) {
  if (adNetworkIds.isEmpty) {
    return null;
  }
  return adNetworkIds.map<String, AdNetworkIds>((key, value) {
    return MapEntry(key, AdNetworkIds.fromJson(value));
  });
}