mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 18:46:53 +08:00
@@ -28,19 +28,20 @@ class ReplyCursor {
|
||||
});
|
||||
|
||||
factory ReplyCursor.fromJson(Map<String, dynamic> json) => ReplyCursor(
|
||||
isBegin: json['is_begin'] as bool?,
|
||||
prev: json['prev'] as int?,
|
||||
next: json['next'] as int?,
|
||||
isEnd: json['is_end'] as bool?,
|
||||
paginationReply: json['pagination_reply'] == null
|
||||
? null
|
||||
: PaginationReply.fromJson(
|
||||
json['pagination_reply'] as Map<String, dynamic>),
|
||||
sessionId: json['session_id'] as String?,
|
||||
mode: json['mode'] as int?,
|
||||
modeText: json['mode_text'] as String?,
|
||||
allCount: json['all_count'] as int?,
|
||||
supportMode: (json['support_mode'] as List?)?.cast(),
|
||||
name: json['name'] as String?,
|
||||
);
|
||||
isBegin: json['is_begin'] as bool?,
|
||||
prev: json['prev'] as int?,
|
||||
next: json['next'] as int?,
|
||||
isEnd: json['is_end'] as bool?,
|
||||
paginationReply: json['pagination_reply'] == null
|
||||
? null
|
||||
: PaginationReply.fromJson(
|
||||
json['pagination_reply'] as Map<String, dynamic>,
|
||||
),
|
||||
sessionId: json['session_id'] as String?,
|
||||
mode: json['mode'] as int?,
|
||||
modeText: json['mode_text'] as String?,
|
||||
allCount: json['all_count'] as int?,
|
||||
supportMode: (json['support_mode'] as List?)?.cast(),
|
||||
name: json['name'] as String?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user