mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-25 18:48:43 +00:00
34
lib/models_new/video/video_play_info/interaction.dart
Normal file
34
lib/models_new/video/video_play_info/interaction.dart
Normal file
@@ -0,0 +1,34 @@
|
||||
class Interaction {
|
||||
HistoryNode? historyNode;
|
||||
int? graphVersion;
|
||||
|
||||
Interaction({
|
||||
this.historyNode,
|
||||
this.graphVersion,
|
||||
});
|
||||
|
||||
factory Interaction.fromJson(Map<String, dynamic> json) => Interaction(
|
||||
historyNode: json["history_node"] == null
|
||||
? null
|
||||
: HistoryNode.fromJson(json["history_node"]),
|
||||
graphVersion: json["graph_version"],
|
||||
);
|
||||
}
|
||||
|
||||
class HistoryNode {
|
||||
int? nodeId;
|
||||
String? title;
|
||||
int? cid;
|
||||
|
||||
HistoryNode({
|
||||
this.nodeId,
|
||||
this.title,
|
||||
this.cid,
|
||||
});
|
||||
|
||||
factory HistoryNode.fromJson(Map<String, dynamic> json) => HistoryNode(
|
||||
nodeId: json["node_id"],
|
||||
title: json["title"],
|
||||
cid: json["cid"],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user