parseScreenData static method

Map<String, AdConfigDataModel>? parseScreenData(
  1. Map screenData
)

Implementation

static Map<String, AdConfigDataModel>? parseScreenData(Map screenData) {
  if (screenData.isEmpty) {
    return null;
  }
  return screenData.map<String, AdConfigDataModel>((key, value) {
    return MapEntry(key, AdConfigDataModel.fromJson(value));
  });
}