CampaignConfig.fromJson constructor

CampaignConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CampaignConfig.fromJson(Map<String, dynamic> json) {
  return CampaignConfig(
    itemExplorationConfig:
        (json['itemExplorationConfig'] as Map<String, dynamic>?)
            ?.map((k, e) => MapEntry(k, e as String)),
  );
}