Files
PiliPlus/lib/models/dynamics/opus_detail/style.dart
dom 40fb93f036 refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-04-26 14:54:22 +08:00

23 lines
454 B
Dart

class Style {
Style({
this.bold,
this.italic,
this.strikethrough,
});
bool? bold;
bool? italic;
bool? strikethrough;
factory Style.fromJson(Map<String, dynamic> json) => Style(
bold: json['bold'],
italic: json['italic'],
strikethrough: json['strikethrough'],
);
Map<String, dynamic> toJson() => {
'bold': bold,
'italic': italic,
'strikethrough': strikethrough,
};
}