SmartEngagementBannerConfig.fromJson constructor

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

Implementation

factory SmartEngagementBannerConfig.fromJson(Map<String, dynamic> json) =>
    SmartEngagementBannerConfig(
      popup: PopupBannerConfig.fromJson(json['popup'] ?? {}),
      flexible: FlexibleBannerConfig.fromJson(json['flexible'] ?? {}),
      sticky: StickyBannerConfig.fromJson(json['sticky'] ?? {}),
    );