mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
18 lines
426 B
Dart
18 lines
426 B
Dart
import 'web_css_style.dart';
|
|
|
|
class GeneralConfig {
|
|
WebCssStyle? webCssStyle;
|
|
|
|
GeneralConfig({this.webCssStyle});
|
|
|
|
factory GeneralConfig.fromJson(Map<String, dynamic> json) => GeneralConfig(
|
|
webCssStyle: json['web_css_style'] == null
|
|
? null
|
|
: WebCssStyle.fromJson(json['web_css_style'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'web_css_style': webCssStyle?.toJson(),
|
|
};
|
|
}
|