mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-18 23:23:58 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
32
lib/models/stein_edgeinfo/story_list.dart
Normal file
32
lib/models/stein_edgeinfo/story_list.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
class StoryList {
|
||||
int? nodeId;
|
||||
int? edgeId;
|
||||
String? title;
|
||||
int? cid;
|
||||
int? startPos;
|
||||
String? cover;
|
||||
int? isCurrent;
|
||||
int? cursor;
|
||||
|
||||
StoryList({
|
||||
this.nodeId,
|
||||
this.edgeId,
|
||||
this.title,
|
||||
this.cid,
|
||||
this.startPos,
|
||||
this.cover,
|
||||
this.isCurrent,
|
||||
this.cursor,
|
||||
});
|
||||
|
||||
factory StoryList.fromJson(Map<String, dynamic> json) => StoryList(
|
||||
nodeId: json['node_id'] as int?,
|
||||
edgeId: json['edge_id'] as int?,
|
||||
title: json['title'] as String?,
|
||||
cid: json['cid'] as int?,
|
||||
startPos: json['start_pos'] as int?,
|
||||
cover: json['cover'] as String?,
|
||||
isCurrent: json['is_current'] as int?,
|
||||
cursor: json['cursor'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user