mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-29 20:48:40 +00:00
@@ -8,11 +8,11 @@ class Interaction {
|
||||
});
|
||||
|
||||
factory Interaction.fromJson(Map<String, dynamic> json) => Interaction(
|
||||
historyNode: json["history_node"] == null
|
||||
? null
|
||||
: HistoryNode.fromJson(json["history_node"]),
|
||||
graphVersion: json["graph_version"],
|
||||
);
|
||||
historyNode: json["history_node"] == null
|
||||
? null
|
||||
: HistoryNode.fromJson(json["history_node"]),
|
||||
graphVersion: json["graph_version"],
|
||||
);
|
||||
}
|
||||
|
||||
class HistoryNode {
|
||||
@@ -27,8 +27,8 @@ class HistoryNode {
|
||||
});
|
||||
|
||||
factory HistoryNode.fromJson(Map<String, dynamic> json) => HistoryNode(
|
||||
nodeId: json["node_id"],
|
||||
title: json["title"],
|
||||
cid: json["cid"],
|
||||
);
|
||||
nodeId: json["node_id"],
|
||||
title: json["title"],
|
||||
cid: json["cid"],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user