FlexibleBannerConfig.fromJson constructor
Implementation
factory FlexibleBannerConfig.fromJson(Map<String, dynamic> json) =>
FlexibleBannerConfig(
enable: json['enable'] ?? false,
data: json['data'] ?? {},
canDrag: json['canDrag'] ?? true,
canClose: json['canClose'] ?? true,
width: json['width'] ?? 100.0,
height: json['height'] ?? 100.0,
);