mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 02:26:52 +08:00
33 lines
713 B
Dart
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?,
|
|
);
|
|
}
|