mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-20 16:18:39 +00:00
refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
17
lib/models/dynamics/opus_detail/general_config.dart
Normal file
17
lib/models/dynamics/opus_detail/general_config.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
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(),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user