NamiCampaign.fromMap constructor

NamiCampaign.fromMap(
  1. Map map
)

Implementation

factory NamiCampaign.fromMap(Map<dynamic, dynamic> map) {
  return NamiCampaign(map['paywall'], map['segment'],
      (map['type'] as String?).toNamiCampaignRuleType(), map['value']);
}