mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
feat: set pub setting feat: set reply interaction Signed-off-by: dom <githubaccount56556@proton.me>
21 lines
610 B
Dart
21 lines
610 B
Dart
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"]),
|
|
);
|
|
}
|