mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
17
lib/models/dynamics/opus_detail/module_bottom.dart
Normal file
17
lib/models/dynamics/opus_detail/module_bottom.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
import 'share_info.dart';
|
||||
|
||||
class ModuleBottom {
|
||||
ShareInfo? shareInfo;
|
||||
|
||||
ModuleBottom({this.shareInfo});
|
||||
|
||||
factory ModuleBottom.fromJson(Map<String, dynamic> json) => ModuleBottom(
|
||||
shareInfo: json['share_info'] == null
|
||||
? null
|
||||
: ShareInfo.fromJson(json['share_info'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'share_info': shareInfo?.toJson(),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user