mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
14 lines
249 B
Dart
14 lines
249 B
Dart
class RenderSpec {
|
|
int? opacity;
|
|
|
|
RenderSpec({this.opacity});
|
|
|
|
factory RenderSpec.fromJson(Map<String, dynamic> json) => RenderSpec(
|
|
opacity: json['opacity'] as int?,
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
'opacity': opacity,
|
|
};
|
|
}
|