Files
PiliPlus/lib/models/stein_edgeinfo/story_list.dart
bggRGjQaUbCoE 924d51d41b opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-05-29 17:17:42 +08:00

33 lines
713 B
Dart

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?,
);
}