mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
feat: edit dyn
feat: set pub setting feat: set reply interaction Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
20
lib/models_new/reply_interaction/data.dart
Normal file
20
lib/models_new/reply_interaction/data.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
import 'package:PiliPlus/models_new/reply_interaction/interact_status.dart';
|
||||
|
||||
class ReplyInteractData {
|
||||
InteractStatus upReplySelection;
|
||||
InteractStatus upReply;
|
||||
// InteractStatus upDm;
|
||||
|
||||
ReplyInteractData({
|
||||
required this.upReplySelection,
|
||||
required this.upReply,
|
||||
// required this.upDm,
|
||||
});
|
||||
|
||||
factory ReplyInteractData.fromJson(Map<String, dynamic> json) =>
|
||||
ReplyInteractData(
|
||||
upReplySelection: InteractStatus.fromJson(json["up_reply_selection"]),
|
||||
upReply: InteractStatus.fromJson(json["up_reply"]),
|
||||
// upDm: InteractStatus.fromJson(json["up_dm"]),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user