ResponsiveConfig.fromJson constructor
Factory fromJson constructor for ResponsiveConfig.
Implementation
factory ResponsiveConfig.fromJson(Map<String, dynamic> json) {
return ResponsiveConfig(
widescreenBreakpoint:
json['widescreen_breakpoint']?.toDouble() as double?,
desktopBreakpoint: json['desktop_breakpoint']?.toDouble() as double?,
laptopBreakpoint: json['laptop_breakpoint']?.toDouble() as double?,
tabletBreakpoint: json['tablet_breakpoint']?.toDouble() as double?,
mobileBreakpoint: json['mobile_breakpoint']?.toDouble() as double?,
);
}