CampaignEventFilter.fromJson constructor

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

Implementation

factory CampaignEventFilter.fromJson(Map<String, dynamic> json) {
  return CampaignEventFilter(
    dimensions:
        EventDimensions.fromJson(json['Dimensions'] as Map<String, dynamic>),
    filterType: (json['FilterType'] as String).toFilterType(),
  );
}