MephistoPersistentTheme.fromJson constructor
MephistoPersistentTheme.fromJson( - Map<String, dynamic> json
)
Implementation
factory MephistoPersistentTheme.fromJson(Map<String, dynamic> json) =>
MephistoPersistentTheme(
primaryColor: json['primaryColor'] as String,
primaryColorString: json['primaryColorString'] as String,
fontFamily: json['fontFamily'] as String,
borderRadius: json['borderRadius'] as double,
borderWidth: json['borderWidth'] as double,
isDarkTheme: json['isDarkTheme'] as bool,
showBottomNavbarLabels: json['showBottomNavbarLabels'] as bool,
enableBottomNavbarFeedbacks:
json['enableBottomNavbarFeedbacks'] as bool,
isFilledBgWidgets: json['isFilledBgWidgets'] as bool,
darkFillColor: json['darkFillColor'] as String,
lightFillColor: json['lightFillColor'] as String,
darkLineColor: json['darkLineColor'] as String,
lightLineColor: json['lightLineColor'] as String,
captionTextAndIconColor: json['captionTextAndIconColor'] as String,
);