PopupBannerConfig.fromJson constructor
Implementation
factory PopupBannerConfig.fromJson(Map<String, dynamic> json) =>
PopupBannerConfig(
enable: json['enable'] ?? false,
data: json['data'] ?? {},
alwaysShowUponOpen: json['alwaysShowUponOpen'] ?? true,
closePosition: json['closePosition'] ?? 'topRight',
updatedTime: json['updatedTime'] ?? 0,
);